RE: Failed DBD oracle module

2013-09-24 Thread John Scoles
: john...@pharmacy.arizona.edu CC: dbi-users@perl.org Subject: Re: Failed DBD oracle module Date: Mon, 23 Sep 2013 21:09:34 + On Sep 23, 2013, at 2:02 PM, Bruce Johnson john...@pharmacy.arizona.edu wrote: This can happen if you have 32-bit oracle db installed on the system, but use

Failed DBD oracle module

2013-09-23 Thread Lieng, Gia
Hi, I had installed perl 5.18.1 and two other modules DBI and DBD::Oralce. And using the simple script below to test both modules, DBI worked but DBD::Oracle gives the following errors. Both modules compile and installed without errors. - Testing module DBI worked: $ vi

Re: Failed DBD oracle module

2013-09-23 Thread Bruce Johnson
On Sep 20, 2013, at 8:57 AM, Lieng, Gia gia.li...@au.fujitsu.com wrote: $ perl perl_test.script Can't load '/usr/local/lib/perl5/site_perl/5.18.1/sun4-solaris/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: perl: fatal: /opt/oracle/10.2.0.3/lib/libclntsh.so.10.1: wrong ELF

Re: Failed DBD oracle module

2013-09-23 Thread Bruce Johnson
On Sep 23, 2013, at 2:02 PM, Bruce Johnson john...@pharmacy.arizona.edu wrote: This can happen if you have 32-bit oracle db installed on the system, but use the 64-bit Oracle Instant Client to compile DBD::Oracle. Or Vice-versa, of course, which might be what your problem is. -- Bruce