[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Perl modules and Oracle 10g Client on RHEL 4



On Mon, 2006-03-27 at 13:07 -0500, Marc Wiatrowski wrote:
> Try setting LD_LIBRARY_PATH somewhere before you call the perl script,
> if you can, or try putting 
> '/ou01/appracle/product/10.2.0/lib' in /etc/ld.so.conf and running
> ldconfig.
>  
> I've never had any luck setting the $ENV's inside perl scripts.  And
> if it was going to work, they would
> probably have to go before your 'use DBI' line.

I think they would also need to be inside a BEGIN block, so they take
effect at compile time, rather than run time.

But it's probably better to set the variable before running the perl
script anyway.

David


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]