I'm not sure how to force Perl to check there, because I don't think
it's a Perl thing, it's an OS-level loader thing.

Try editing /etc/profile, add the line

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Then on the line which reads "export..." append LD_LIBRARY_PATH

This will ensure that the environment variable is set correctly for
every user who subsequently logs on.

HTH,

g.

-----Original Message-----
[mailto:[EMAIL PROTECTED]] 
Sent: 15 June 2001 10:05
To: Multiple recipients of list ORACLE-L

Hi,

The Perl 5.005_03 software on my Solaris 2.6 box did not have the
GDBM_file module in it, so I removed it, installed GNU gdbm software,
and re-installed Perl 5.005_03 that I got from CPAN. However now every
time I run Perl the system gives
me this message

        ld.so.1: perl: fatal: libgdbm.so.2: open failed: No such file or
directory

It did not happen with the old Perl copy.

If I set LD_LIBRARY_PATH=/usr/local/lib then  run Perl, there is no
problem.

Do you know why  How can I 'link' this LD_LIBRARY_PATH setting into Perl
so that I do not need to have it explicitly set every time I run Perl.
(And also I do not want other users on teh system to explicitly set it
in order to run Perl).

Thanks
Long
-- 

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Guy Hammond
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to