in reply to perl can't find my modules

What version of Perl?

What is the exact error statement (cut'n'pasted from your terminal)?

Have you tried doing a use lib 'My/Dir/Here'; yet? (That prolly won't work, but it's worth a try...)

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Replies are listed 'Best First'.
Re: Re: perl can't find my modules
by idunno (Beadle) on Sep 07, 2001 at 22:05 UTC
    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.

      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