Hi Jeff,
Unfortunately I am using gcc 3.4.4 now, and that is the same version that
Active Perl was installed with.
I tried running #make install despite all of the errors that #make test
gave
me, and when I try to use the DBI module I get this error,
Can't load
'/opt/ActivePerl-5.8/lib/site_perl/5.8.8/sun4-solaris-thread-multi/auto/DBI/DBI.so'
for module DBI: ld.so.1: perl-static: fatal:
/opt/ActivePerl-5.8/lib/site_perl/5.8.8/sun4-solaris-thread-multi/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.
at
/opt/ActivePerl-5.8/lib/site_perl/5.8.8/sun4-solaris-thread-multi/DBI.pm
line 259
Do you have any other suggestions? I really appreciate the help,
Thanks,
- Jon
>From: "Jeffrey Seger" <[EMAIL PROTECTED]>
>To: "Jon Daily" <[EMAIL PROTECTED]>
>CC: dbi-users@perl.org
>Subject: Re: DBI Installation Problems
>Date: Fri, 18 Aug 2006 23:10:31 -0400
>
>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
>--------------------------------------------------------------------------------------------------------------