Re: DBD::Oracle 1.15 linking path problems with Oracle9i
From: Charles Jardine (cj10_at_cam.ac.uk)
Date: 05/26/04
- Previous message: Ron Reidy: "RE: make problem"
- In reply to: Marko Asplund: "DBD::Oracle 1.15 linking path problems with Oracle9i"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 May 2004 09:56:26 +0100 To: dbi-users@perl.org
Marko Asplund wrote:
> 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:
[snip]
> how can i link DBD::Oracle against the Oracle libraries in
> /opt/kronodoc/oracle9i, not /opt/oracle9i?
In short, you can't. This is not a problem specific to DBD::Oracle.
It applies to all programs linked to Oracle 9i client libraries.
What has happened is that the name /opt/oracle9i has been bound
into the run-time path of the Oracle libraries themselves. This
binding took place at install time. (This is why some Oracle
documentation says that soft links to ORACLE_HOME directories
are not supported).
This may be better with the Oracle 10g "Instant Client", but I
haven't checked yet.
-- Charles Jardine - Computing Service, University of Cambridge cj10@cam.ac.uk Tel: +44 1223 334506, Fax: +44 1223 334679
- Previous message: Ron Reidy: "RE: make problem"
- In reply to: Marko Asplund: "DBD::Oracle 1.15 linking path problems with Oracle9i"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|