in reply to Re: perl can't find my modules
in thread perl can't find my modules

Perl version: 5.005_03 built for sun4-solaris

Exact error stmt:
Can't load '/raid/blah/env/local/lib/perl5/site_perl/5.005/sun4-solaris//auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /blah/env/local/bin/perl: fatal: libclntsh.so.1.0: open failed: No such file or directory at /blah/env/local/lib/perl5/5.00503/sun4-solaris//DynaLoader.pm line 169.
at ./prog.pl line 40
BEGIN failed--compilation aborted at ./prog.pl line 40.

I did try 'use lib' but couldn't make that work.

Thanks.

Replies are listed 'Best First'.
Re: Re: Re: perl can't find my modules
by stefp (Vicar) on Sep 07, 2001 at 22:13 UTC
    According to your logs, DynLoader.pm has been found but can't find libclntsh.so.1

    It seems to be an oracle library. You should set LD_LIBRARY_PATH environment variable or it Solaris equivalent to include the directory path that contains the said library. Or add this path to /etc/ld.so.conf and runs ldconfig (if Solaris works like linux).

    Good Luck.

    -- stefp