I already did that and was able to install DBD. Since the database has been upgraded 
to 64-bit also, the scripts that run against it, fail with the errors that I mentioned 
below. It runs fine if the script runs against 32 bit database.

Thanks.

Donel

--- Gus Spier wrote:
Donel,

It sounds like a problem similar to the one I was having.

Perform "perl Makefile.pl -p" instead of "perl Makefile.pl", list the working 
directory and find "makefile"

Edit the makefile and replace every instance of product/9.2.0/lib with 
product/9.2.0/lib32.  Then replace every instance of product/9.2.0/rdbms/lib with 
product/9.2.0/rdbms/lib32

Now you run the make, make test, and make install.  Your make test may return one 
error.  I ignored mine and it seemed to work OK.

Good luck.

Gus

Donel U. D'Cruze wrote:
--- Start of quoted text:
I am having problems building DBD with Oracle 9.2  in 64-bit on Solaris 9. I was able 
to force the compile with only the 32 bit libraries but the Perl scripts fail  if we 
try to run it against the 9.2 database. The error I am getting is-

chili:/user-home/oracle/admin>./recreate_temp_ts.pl
Can't load 
'/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/Oracle/Oracle.so' for 
module DBD::Oracle: ld.so.1: /usr/bin/perl: fatal: 
/user-home/oracle/code/b9.2/lib/libclntsh.so.9.0: wrong ELF class: ELFCLASS64 at 
/usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.
 at ./recreate_temp_ts.pl line 3
Compilation failed in require at ./recreate_temp_ts.pl line 3.
BEGIN failed--compilation aborted at ./recreate_temp_ts.pl line 3.


It seems to be wanting the 64 bit libraries, but I am unable to build it with them as 
it always complains about the wrong ELF class. I have perl 5.8, DBI 1.38 & DBD 1.14 
installed.

Thanks.

Donel

--- end of quoted text ---
--- end of quote ---

Reply via email to