Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachment: signature.asc
Description: PGP signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux