Thomas H. Fanning writes:
 > I must confess that I am not very experienced with installing DBI
 > (I've successfully done it twice before), but I'm currently having
 > linking problems when building DBD-Oracle-1.12.
 > 
 > We recently upgraded to Oracle 9.0.1, and my old installation of
 > DBI (1.14) and DBD-Oracle (1.06) stopped working with the error
 > "ERROR OCIEnvInit". I assumed I simply needed to rebuild DBD-Oracle
 > to use the new libraries from Oracle 9.0.1. So I downloaded the
 > latest versions of DBI (1.20) and DBD-Oracle (1.12). The build and
 > install of DBI went flawlessly. The build of DBD-Oracle ended with
 > the following link errors:
 > 
 >      ld: fatal: file
 >      /opt/oracle0/oracle/product/9.0.1/lib//libclntsh.so:
 >      wrong ELF class: ELFCLASS64
 >      ld: fatal: File processing errors. No output written to
 >      blib/arch/auto/DBD/Oracle/Oracle.so
 >      make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1

Looks like a 64 bit library, and perl (and DBI) are almost certainly
built in 32 bit mode.

I've got similar problems with DBD::Sybase and the 64bit OpenClient
libraries that are loaded by default on the 64bit version of Solaris
2.8. 

Michael
-- 
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
[EMAIL PROTECTED] - [EMAIL PROTECTED]
International Sybase User Group - http://www.isug.com

Reply via email to