Re: How to set LD_LIBRARY_PATH

2010-06-01 Thread Jonathan Leffler
On Sun, May 30, 2010 at 10:47 AM, Marilyn Sander < marilyn-san...@earthlink.net> wrote: > > [...] My reasoning was that the thing being > loaded is a shared object (.so file). The system loader (ld) has to be > invoked for loading > a shared object. That seems to me to require a separate proce

Re: How to set LD_LIBRARY_PATH

2010-05-30 Thread Marilyn Sander
On May 29, 2010, at 6:24 AM, Paul Johnson wrote: On Fri, May 28, 2010 at 11:23:32AM -0700, Marilyn Sander wrote: On May 28, 2010, at 9:33 AM, Paul Johnson wrote: On Fri, May 28, 2010 at 06:14:38AM -0400, John Scoles wrote: You will have to set those values before your modules load. So yo

Re: How to set LD_LIBRARY_PATH

2010-05-30 Thread Chas. Owens
On Sat, May 29, 2010 at 12:19, Bobak, Mark wrote: > I'd argue you want to use a shell wrapper anyhow, because rather than setting > those variables explicitly, you ought to do something like: > export ORACLE_SID=your_sid > export ORAENV_ASK=NO > . oraenv > > and Oracle will set it all for you, an

RE: How to set LD_LIBRARY_PATH

2010-05-30 Thread Bobak, Mark
will continue to do the right thing. -Mark From: Paul Johnson [p...@pjcj.net] Sent: Friday, May 28, 2010 12:33 To: John Scoles Cc: newbie01 perl; beginners; dbi-users Subject: Re: How to set LD_LIBRARY_PATH On Fri, May 28, 2010 at 06:14:38AM -0400, John S

Re: How to set LD_LIBRARY_PATH

2010-05-29 Thread Oscar Gomez
:45:14 To: beginners; dbi-users Subject: How to set LD_LIBRARY_PATH Hi all, Can someone advise how to set LD_LIBRARY_PATH from within the Perl scripts? If I set LD_LIBRARY_PATH from the command line, all is okay [oracle ~]$ perl -e 'use DBD::Oracle; print $DBD::Oracle::VERSION,"\n&qu

Re: How to set LD_LIBRARY_PATH

2010-05-29 Thread Paul Johnson
On Fri, May 28, 2010 at 11:23:32AM -0700, Marilyn Sander wrote: > On May 28, 2010, at 9:33 AM, Paul Johnson wrote: > > > On Fri, May 28, 2010 at 06:14:38AM -0400, John Scoles wrote: > > > >> You will have to set those values before your modules load. > >> > >> So you should stick them in the BE

Re: How to set LD_LIBRARY_PATH

2010-05-29 Thread jonathan . leffler
it applies elsewhere too. JL Sent from my BlackBerry® smartphone, powered by CREDO Mobile. -Original Message- From: newbie01 perl Date: Fri, 28 May 2010 19:45:14 To: beginners; dbi-users Subject: How to set LD_LIBRARY_PATH Hi all, Can someone advise how to set LD_LIBRARY_PATH from

RE: How to set LD_LIBRARY_PATH

2010-05-29 Thread Martin Gainty
sponsabilité pour le contenu fourni. > From: shlo...@iglu.org.il > To: beginners@perl.org > Subject: Re: How to set LD_LIBRARY_PATH > Date: Fri, 28 May 2010 11:06:41 +0300 > CC: newbie01.p...@gmail.com; dbi-us...@perl.org > > On Friday 28 May 2010 10:45:14 newbie01 perl wr

Re: How to set LD_LIBRARY_PATH

2010-05-28 Thread Marilyn Sander
linux and I'm not sure if this sort of messing about is > required there. > > >> http://www.compuspec.net/reference/language/perl/BEGIN_and_END.shtml >> >> cheers >> John Scoles >> >> On Fri, May 28, 2010 at 3:45 AM, newbie01 perl >> wrote: >>

Re: How to set LD_LIBRARY_PATH

2010-05-28 Thread Paul Johnson
net/reference/language/perl/BEGIN_and_END.shtml > > cheers > John Scoles > > On Fri, May 28, 2010 at 3:45 AM, newbie01 perl wrote: > > > Hi all, > > > > Can someone advise how to set LD_LIBRARY_PATH from within the Perl scripts? > > > > If I set LD_LIBRARY_P

Re: How to set LD_LIBRARY_PATH

2010-05-28 Thread John Scoles
ne advise how to set LD_LIBRARY_PATH from within the Perl scripts? > > If I set LD_LIBRARY_PATH from the command line, all is okay > > [oracle ~]$ perl -e 'use DBD::Oracle; print $DBD::Oracle::VERSION,"\n";' > Can't load > > '/oracle/product/db/11.1

Re: How to set LD_LIBRARY_PATH

2010-05-28 Thread Shlomi Fish
On Friday 28 May 2010 10:45:14 newbie01 perl wrote: > Hi all, > > Can someone advise how to set LD_LIBRARY_PATH from within the Perl scripts? > > If I set LD_LIBRARY_PATH from the command line, all is okay > > [oracle ~]$ perl -e 'use DBD::Oracle; print $DBD::Oracle::V

How to set LD_LIBRARY_PATH

2010-05-28 Thread newbie01 perl
Hi all, Can someone advise how to set LD_LIBRARY_PATH from within the Perl scripts? If I set LD_LIBRARY_PATH from the command line, all is okay [oracle ~]$ perl -e 'use DBD::Oracle; print $DBD::Oracle::VERSION,"\n";' Can't load '/oracle/product/db/11.1/perl/li