It's important to compile DBI with the same compiler that perl was
compiled with.  Active State's perl IIRC is a precompiled binary that
may well have been compiled with another compiler. You can fin d out
by examining the output of perl -V.

If it turns out that you don't have the same compiler available, then
I suggest re-compiling perl from source.  It'll take a bit of time
now, but will save you tons as you compile other CPAN modules as well.

On 8/18/06, Jon Daily <[EMAIL PROTECTED]> 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





--
--------------------------------------------------------------------------------------------------------------
The darkest places in hell are reserved for those who maintain their
neutrality in times of moral crisis.
   Dante Alighieri (1265 - 1321)

They who would give up an essential liberty for temporary security,
deserve neither liberty or security.
Benjamin Franklin

Our lives begin to end the day we become silent about things that matter.
Martin Luther King

The right of the people to be secure in their persons, houses, papers,
and effects, against unreasonable searches and seizures, shall not be
violated, and no warrants shall issue, but upon probable cause,
supported by oath or affirmation, and particularly describing the
place to be searched, and the persons or things to be seized.

Amendment IV to the Constitution of the United States
--------------------------------------------------------------------------------------------------------------

Reply via email to