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: OT: Perl question

Re: OT: Perl question

From: Jared Still <jkstill_at_cybcon.com>
Date: Sat, 16 Jun 2001 00:17:35 -0700
Message-ID: <F001.0032C426.20010616001553@fatcity.com>

Sorry to tell you this Long, but the reason you are having this problem is that you compiled Perl by setting LD_LIBRARY_PATH=/usr/local/lib.

This shouldn't be done. It should be compiled *without* setting LD_LIBRARY_PATH, other than for Oracle software. I saw that you did this in a previous post, thought you'd discover it pretty quick. :)

You will have to recompile Perl to fix this. I don't recall which option in the configuration you set the libraries at, as it's been a few months since I've had to do it.

You can read more about the evils of LD_LIBRARY_PATH at http://www.cis.ohio-state.edu/~barr/ldpath.html

We're stuck with it for Oracle though.

Jared

On Friday 15 June 2001 02:05, Nguyen, Long (ITS, Limestone Ave) wrote:
> 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: Jared Still
  INET: jkstill_at_cybcon.com

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 Sat Jun 16 2001 - 02:17:35 CDT

Original text of this message

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