Dan Rench wrote:
>
> I'm having problems with modules that use DynaLoader (Data::Dumper and
> Storable, specifically) under mod_perl on Solaris machines.
>
> These modules work fine in standalone scripts, or when run under mod_cgi
> or mod_fastcgi, but as soon as I put a "use Storable" in a mod_perl handler,
> I get this in my error log:
>
> [Tue Oct 26 11:21:33 1999] [error] Can't load
>'/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/Storable/Storable.so' for
>module Storable: ld.so.1: ./httpd: fatal: relocation error: file
>/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/Storable/Storable.so: symbol
>main: referenced symbol not found at
>/usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.
>
> BTW I get an identical message if I put a "use Storable" inside a <Perl>
> section in my httpd.conf.
>
> After searching the mailing list archive, I see that this sort of thing can
> happen if mod_perl was compiled against the "wrong" version of perl on the
> system. So just to make sure, I removed all remnants of an older 5.004
> install, remade mod_perl, and I'm still getting the errors.
>
> My setup:
>
> Solaris 2.5.1 (Sparc)
> gcc 2.95
> perl 5.005_03 (compiled with above gcc, as were the below)
> apache 1.3.9 (with all modules compiled statically)
> mod_perl 1.21 (EVERYTHING=1)
> mod_fastcgi 2.2.2
>
what's the ld version you use ?, make sure you compiled perl using the
solaris hints you can find in the perl sources.
--
^-^,-----. mailto:[EMAIL PROTECTED]
o o ) http://www.etsetb.upc.es/~frankie
Y (_ (___(ssss