![]() |
|
Think about Loose Coupling | |
PerlMonks |
DBI, DBD::Oracle and LD_LIBRARY_PATHby Shendal (Hermit) |
on Aug 18, 2000 at 20:52 UTC ( #28533=perlquestion: print w/replies, xml ) | Need Help?? |
Shendal has asked for the wisdom of the Perl Monks concerning the following question:
I'm having trouble with DBI and DBD::Oracle. I think that it has to do with setting of the LD_LIBRARY_PATH variable, so that DBI can dynamically load what it needs to access the Oracle database. First, my initial code: This fails with the following error:
This file, is indeed in $LD_LIBRARY_PATH/libclntsh.so.8.0. As evidence, if I set LD_LIBRARY_PATH in my shell before executing this script, it works fine. That led me to try this with a BEGIN block: ...which still doesn't work. Anyone know what I'm doing wrong? Thanks, Shendal
Back to
Seekers of Perl Wisdom
|
|