Garrett, Philip (MAN-Corporate) wrote:
If you run:
LD_DEBUG=libs perl -MDBD::Oracle -e1
You'll see what paths the dynamic linker is searching for the Oracle
libs. Maybe that will help.
Easier still, run
dump -Lv
/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBD/Oracle/Oracle.so
and see what path is being used to load up the Oracle libraries. You
may find that the path to libclntsh.so.10.1 is hard-coded in Oracle.so,
so setting LD_LIBRARY_PATH won't have any effect. Easiest thing is to
install the Oracle 32-bit client somewhere and build DBD::Oracle against
that instead of the 64-bit one.
--
Alan Burlison
--