Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Perl question

RE: Perl question

From: Guy Hammond <guy.hammond_at_avt.co.uk>
Date: Fri, 15 Jun 2001 05:36:26 -0700
Message-ID: <F001.0032B2A0.20010615054532@fatcity.com>

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:Long.Nguyen_at_its.csiro.au]
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: guy.hammond_at_avt.co.uk

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: ListGuru_at_fatcity.com (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).
Received on Fri Jun 15 2001 - 07:36:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US