You had better make sure which version (32 or 64 bit) your Solaris is and
compile accordingly. I suspect you have downloaded pre-compiled packages for
Perl, MySQL and/or gcc
The command to check Solaris for which version is
isainfo -v
If you have only 32 bit Solaris installed, you will see:
32-bit sparc applications
else, you will see
64-bit sparcv9 applications
32-bit sparc applications
From: Rudy Lippan <rlip...@remotelinux.com>
Date: Tue, 27 Jan 2004 14:53:04 -0500 (EST)
To: red orbit <redo...@yahoo.com>
Cc: pe...@lists.mysql.com
Subject: Re: Problem installing DBD::mysql on Solaris 8
On Tue, 27 Jan 2004, red orbit wrote:
Hi,
I am getting the following error while installing perl
DBI module via cpan. I tried compliling the source
code also, still the same error. Pls help.
ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written
to blib/arch/auto/DBD/mysql/mysql.socollect2: ld
returned 1 exit status
Sounds like you have a 32 bit perl and you are using a 64 bit mysql client
library. Either recompile your mysql client library as 32 bits or
recompile perl to be 64 bits.