I had this same problem on Solaris 10 (both sparc & x86) and 64 bit
Instant Client last week.  I fixed it by using the 32 client instead.

Didnt look into it too closely but I think it may be due to perl (both
ActiveState and the Sun provided one in /usr/perl5) are 32 bit so they
will always work no matter how the server is booted, instead of having
to provide two versions (one for when the server is booted 64 bit), and
they need to match the oracle version when linking.

  Duncs

PS. If you ever try the Sun provided one, dont forget to use 
$ perlgcc Makefile.PL
as perl is compiled with the Sun compiler and needs to perform some
conversions when you use gcc for the modules.

On Fri, 2006-08-18 at 16:57 -0400, Jon Daily wrote:
> I am trying to install the DBI module on a Solaris 10 machine.  I am using 
> active perl 5.8.8.  I think I am having issues with the bit size 
> compatibility.  The Solaris installation is 64-bit, but perl is 32-bit.  
> Perl is working fine however, so i'm not sure why i am having trouble with 
> the DBI install.
> 
> I first get errors at, #make test
> I get lots of errors, but this is the typical one, and seems like the 
> biggest problem,
> Error:  Can't load '/opt/software/DBI-1.51/blib/arch/auto/DBI/DBI.so' for 
> module DBI: ld.so.1: perl-static: fatal: 
> /opt/software/DBI-1.51/blib/arch/auto/DBI/DBI.so: wrong ELF class: 
> ELFCLASS64 at 
> /opt/ActivePerl-5.8/lib/5.8.8/sun4-solaris-thread-multi/DynaLoader.pm line 
> 230.
> 
> No idea what I can do to fix this...do i need a 64-bit version of Perl?
> 
> Thanks,
> 
> - Jon
> 


        
        
                
___________________________________________________________ 
All New Yahoo! Mail – Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard 
protect you. http://uk.docs.yahoo.com/nowyoucan.html


Reply via email to