Re: Can't locate Ora2Pg.pm while executing export_schema.sh - Mailing list pgsql-general

From Peter J. Holzer
Subject Re: Can't locate Ora2Pg.pm while executing export_schema.sh
Date
Msg-id YS4V5qN0Z4q5T3LH@hjp.at
Whole thread Raw
In response to Re: Can't locate Ora2Pg.pm while executing export_schema.sh  (Mladen Gogala <gogala.mladen@gmail.com>)
List pgsql-general
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!"

Attachment

pgsql-general by date:

Previous
From: Jehan-Guillaume de Rorthais
Date:
Subject: Re: prevent WAL replication to fill filesystem
Next
From: "Magri, Sebastian"
Date:
Subject: Running into hangs with logical replication