Re: Can't locate Ora2Pg.pm while executing export_schema.sh

From: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Can't locate Ora2Pg.pm while executing export_schema.sh
Date: 2021-08-31 11:43:34
Message-ID: YS4V5qN0Z4q5T3LH@hjp.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2021-08-17 10:34:28 -0400, Mladen Gogala wrote:
> You should locate Ora2Pg.pm using "find" like this:
>
> [mgogala(at)umajor ~]$ find /usr/local -name Ora2Pg.pm
> /usr/local/share/perl5/5.32/Ora2Pg.pm
> [mgogala(at)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(at)hjp(dot)at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Magri, Sebastian 2021-08-31 11:58:06 Running into hangs with logical replication
Previous Message Jehan-Guillaume de Rorthais 2021-08-31 09:37:52 Re: prevent WAL replication to fill filesystem