Hello,

I have a problem with the DBD::ODBC module (ODBC.sl) when ODBC driver manager is located in different directory, other then one was used at compilation time.
The LD_LIBRARY_PATH, SHLIB_PATH and LD_RELOAD don't help.
The error occurs at the startup time when 'use DBD::ODBC' calls.

I removed directory with original driver manager and put a new one in different directory
I thought LD_LIBRARY_PATH will help me to solve the problem, but it doesn't.
The ldd shows that file is trying to be accessed from the old place:
L2000> ldd -s /opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBD/ODBC/ODBC.sl

find library=/disk2/odbc/odbcsdk/lib/libiodbc.sl.3; required by /opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBD/ODBC/ODBC.sl /usr/lib/dld.sl: Can't open shared library: /disk2/odbc/odbcsdk/lib/libiodbc.sl.3
/usr/lib/dld.sl: No such file or directory
L2000>
I'm on HP-UX OS, DBD::ODBC 1.12.

Any help is appreciated.

Regards,
Vassiliy

Reply via email to