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: Wed, 20 Jun 2001 23:10:31 -0700
Message-ID: <F001.003312DE.20010620223521@fatcity.com>

Nice job of investigating the problem.

Glad you got it working.

Installing Perl is much easier after the first 3 or 4 times. :)

Jared

On Monday 18 June 2001 01:45, Nguyen, Long (ITS, Limestone Ave) wrote:
> Hi Jared,
>
> Thank you for your advice. Without setting LD_LIBRARY_PATH before the
> installation I got the message
>
> ld.so.1: perl: fatal: libgdbm.so.2: open failed: No such file or directory
>
> during the Configure step. So I tried the installation again and this time
> not setting the LD_LIBRARY_PATH but also ran a truss. I found out that the
> script tried to open /usr/lib/libdgbm.so.2 (which did not exist), not
> /usr/local/lib/libgdbm.so.2 (which did exist). So I created a symbolic link
> from /usr/lib to /usr/local/lib and tried the Configure run again. It
> worked fine.
>
> Thanks
> Long
>
> -----Original Message-----
> Sent: Saturday, 16 June 2001 6:16 PM
> To: Multiple recipients of list ORACLE-L
>
>
>
>
> 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 Thu Jun 21 2001 - 01:10:31 CDT

Original text of this message

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