pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Can't locate Ora2Pg.pm while executing export_schema.sh
Date: Tue, 31 Aug 2021 13:43:34 +0200
Message-ID: <YS4V5qN0Z4q5T3LH@hjp.at> (raw)
In-Reply-To: <1e7c9584-a8b5-0ea6-bfca-f6fef7f5546b@gmail.com>
References: <HE1PR08MB28267E0F46BBEE3B09562D8FEEFE9@HE1PR08MB2826.eurprd08.prod.outlook.com>
	<1e7c9584-a8b5-0ea6-bfca-f6fef7f5546b@gmail.com>

On 2021-08-17 10:34:28 -0400, Mladen Gogala wrote:
> You should locate Ora2Pg.pm using "find" like this:
> 
> [mgogala@umajor ~]$ find /usr/local -name Ora2Pg.pm
> /usr/local/share/perl5/5.32/Ora2Pg.pm
> [mgogala@umajor ~]$
> 
> and then make sure that your PERL5LIB directory contains  the location:
> 
> export PERL5LIB=/usr/local/share/perl5/5.32:$PERL5LIB
> 
> That should do the trick. On most distributions,
> /usr/local/share/perl5/<perl version> is already included into PERL5LIB.

It should be. Normally, if a perl module is not where perl can find it
that's a pretty good indication that either the module wasn't installed
properly in the first place or that something changed which makes a
reinstall highly advisable (e.g. a perl upgrade).

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (4+ messages)

Message-ID: <YS4V5qN0Z4q5T3LH@hjp.at>
Permalink:  ../YS4V5qN0Z4q5T3LH@hjp.at/
Also on:    postgresql.org/message-id/YS4V5qN0Z4q5T3LH@hjp.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: hjp-pgsql@hjp.at
  Subject: Re: Can't locate Ora2Pg.pm while executing export_schema.sh
  In-Reply-To: <YS4V5qN0Z4q5T3LH@hjp.at>
  References: <HE1PR08MB28267E0F46BBEE3B09562D8FEEFE9@HE1PR08MB2826.eurprd08.prod.outlook.com> <1e7c9584-a8b5-0ea6-bfca-f6fef7f5546b@gmail.com> <YS4V5qN0Z4q5T3LH@hjp.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox