On 04/26/2005 03:54 AM, PerlDiscuss - Perl Newsgroups and mailing lists said:

When I install DBD::Oracle module, I get the following error.

=============================
ld: fatal: file /oracle/product/10/lib//libclntsh.so: wrong ELF class:
ELFCLASS64
...

============================
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
  Platform:
...
use64bitint=undef use64bitall=undef uselongdouble=undef

The build is trying to link a 64-bit library to a 32-bit perl. Look for /oracle/product/10/lib32. If you find it, edit Makefile to use that directory instead of /oracle/product/10/lib. You'll probably need to `make realclean` before making again.


This appears to be fixed in the next version of DBD::Oracle.

--
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.

Reply via email to