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
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
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
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
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
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
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
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
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
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 nee
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 wrote:
> Hi all,
>
> Can someone advise
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
12 matches
Mail list logo