DBD::Oracle 1.15 linking path problems with Oracle9i

From: Marko Asplund (marko.asplund_at_kronodoc.com)
Date: 05/25/04


To: dbi-users@perl.org
Date: Tue, 25 May 2004 15:30:36 +0300

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


Relevant Pages

  • Re: pgm object/source comparison
    ... There may be plenty of reasons why compilation fails, ... ILE, like default activation groups, objects ... I moved the libraries, files and ... >>> seems fairly obvious that the source code in those two don't match ...
    (comp.sys.ibm.as400.misc)
  • Re: vc++ mfc project build is extremely slow taking hours
    ... How sophisticated are the "third party" libraries. ... in slower compilation, but not an hour. ... How fast is your network and file server? ... I am using precompiled headers and the environment variables point to ...
    (microsoft.public.vc.mfc)
  • RE: Office 2007 "__missing_type__" while importing msword.olb
    ... the type library contains a reference to another type ... Because importing Office 2007 type ... libraries on a system with Office 2003 is not a supported behavior, ... the compilation directly, or fail in the first run, but pass in the second, ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: Enlightnement
    ... > command line and do not have a book on Linux. ... it is good to see a new user leap right into compilation. ... make install ... the system know what libraries are available and where. ...
    (comp.os.linux.setup)
  • Re: Stack frames
    ... in order to save from no end Compilation ... Fast assemblers (RosAsm included) work great ... libraries, as it is practically impossible to do a large ... the only assembler anyone is trying to push as a serious ...
    (alt.lang.asm)