On 2010-05-31 15:52:21 +0200, Peter J. Holzer wrote:
On Linux (at least i386[1]) the loader uses the current value of
LD_LIBRARY_PATH when it is asked to load an .so file. So you can change
LD_LIBRARY_PATH just before you want to load the library.
On Solaris the loader uses the value of
On Sat, May 29, 2010 at 12:19, Bobak, Mark mark.bo...@proquest.com 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
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
On 2010-05-30 10:47:50 -0700, Marilyn Sander wrote:
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
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 process,
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 BEGIN and that
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 BEGIN and that should work
... except where it doesn't, such as on Solaris for example. Here,
LD_LIBRARY_PATH (at least) really does need
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 BEGIN and that should work
... except where it doesn't, such as on Solaris for
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 Scoles
Am 28.05.2010 um 09:45 schrieb newbie01 perl:
Can someone advise how to set LD_LIBRARY_PATH from within the Perl scripts?
But if I do the following instead in the Perl script, it does not work? How
to set the LD_LIBRARY_PATH then?
$ENV{ORACLE_HOME}=$ORACLE_HOME;
You will have to set those values before your modules load.
So you should stick them in the BEGIN and that should work
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 newbie01.p...@gmail.comwrote:
Hi all,
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::VERSION,\n;'
Can't load
: shlo...@iglu.org.il
To: beginn...@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-users@perl.org
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 dynamic loader read LD_LIBRARY_PATH when (before?) Perl gets going. AFAIK,
it doesn't reread it, so changing it in Perl code is too late unless you set
it and exec your code again (which is basically saying it is too late).
I'm tolerably certain this applies to Solaris; I think it applies
create shell script, first set enviroment variables Oracle then
execute script perl
jonathan.leff...@gmail.com escribió:
The dynamic loader read LD_LIBRARY_PATH when (before?) Perl gets going. AFAIK,
it doesn't reread it, so changing it in Perl code is too late unless you set
it and exec
15 matches
Mail list logo