Thank you so much for your help. It works well after installing the 64-bit perl.
Have a good weekend! Fei -----Original Message----- From: BLACH Johannes [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 8:41 AM To: Fei Zhong US-Germantown Cc: [EMAIL PROTECTED] Subject: Re: wrong ELF class Hi Fei, > After installing DBI, I try to install DBD-Oracle-1.15 in my Sun Solaris > 9.0 computer. My oracle is 10.g. Oracle 10g is delivered only as 64-bit application. If you're using any perl version you didn't compile yourself, it's a 32-bit application. You try to mix those, you get the error you see. I've written a few weeks ago a short message in this group how to make DBD-Oracle work with Oracle 10g on Solaris. http://www.perldiscuss.com/article.php?id=22642&group=perl.dbi.users The short summary is, you have to build yourself a 64-bit perl from the source. This is a fairly painless procedure when following the steps in the READ-ME for perl. Good luck, Johannes Running perl Makefile.pl, I did not > find any special error message. But I got a following message when I run > "make and make test". Could you please help out about this issue? > > > > Many thanks in advance! > > > > Fei > > > > *********************************************************************** > > Error message: > > > > /bin/sh -c true > > > > /bin/sh -c true > > > > rm -f blib/arch/auto/DBD/Oracle/Oracle.so > > > > LD_RUN_PATH=3D"/db0/app/oracle/product/10.1.0/db_1/lib:/db0/app/oracle/p > r=o > > duct/10.1.0/db_1/rdbms/lib" cc -G Oracle.o dbdimp.o oci7.o oci8.o > -xarch=3Dv9 -L/db0/app/oracle/product/10.1.0/db_1/lib/ > > -L/db0/app/oracle/product/10.1.0/db_1/rdbms/lib/ -lclntsh -lnsl > > -lsocket -lgen -ldl -R/db0/app/oracle/product/10.1.0/db_1/lib -laio > -lposix4 -lkstat -lm -lthread -o blib/arch/auto/DBD/Oracle/Oracle.so > > > > > > ld: fatal: file Oracle.o: wrong ELF class: ELFCLASS32 > > > > ld: fatal: File processing errors. No output written to > blib/arch/auto/DBD/Oracle/Oracle.so > > > > *** Error code 1 > > > > make: Fatal error: Command failed for target > `blib/arch/auto/DBD/Oracle/Oracle.so' > > > > > > > > > > > > > > ************************************************* > > Fei Zhong, MD, Ph.D., MBA > > Associate Director > > Bioinformatics > > QIAGEN--Gene Silencing > > 19300 Germantown Road > > Germantown, MD 20874 > > > > 240-686-7876 (o) > > ************************************************* > > > > > > > > > > > >
