hi
i'm compiling DBD::Oracle on Red Hat Linux 8.0 and HP-UX 11.00 against Oracle9iR2 client libraries. the compilation process goes without problems but the resulting DBD::Oracle library gets linked against libraries in the wrong path. Oracle9i libraries are installed under /opt/oracle9i but linked in /opt/kronodoc and the ORACLE_HOME is set to /opt/kronodoc/oracle9i/u01/app/oracle/product/9.2.0 during DBD::Oracle compilation. the resulting DBD::Oracle library is linked against the libwtc9.so library in the wrong path according to ldd:
libclntsh.so.9.0 => /opt/kronodoc/oracle9i/u01/app/oracle/product/9.2.0/lib/ libclntsh.so.9.0 (0x40021000)
libwtc9.so => /opt/oracle9i/u01/app/oracle/product/9.2.0/lib/libwtc9.so (0x40a6d000)
the same thing happens on Linux with gcc and on HP-UX with HP C/ANSI C compiler. i created a typescript of the compilation process and during that process the /opt/oracle9i path is not used anywhere and it's not included in my environment variable settings either.
how can i link DBD::Oracle against the Oracle libraries in /opt/kronodoc/oracle9i, not /opt/oracle9i?
best regards, -- aspa
