Hi,
I have a script that bombs under modperl when it tries to 'use POSIX'.  I 
get the same message when I try to preload it in the httpd.conf.  Here's the 
error:
--
[Tue Aug 29 15:59:21 2000] [error] Can't load 
'/usr/local/lib/perl5/5.6.0/sun4-solaris/auto/POSIX/POSIX.so' for module 
POSIX: ld.so.1: httpd: fatal: relocation error: file 
/usr/local/lib/perl5/5.6.0/sun4-solaris/auto/POSIX/POSIX.so: 
symbolPL_stack_sp: referenced symbol not found at 
/usr/local/lib/perl5/5.6.0/sun4-solaris/XSLoader.pm line 73.  at 
/usr/local/lib/perl5/5.6.0/sun4-solaris/POSIX.pm line 24 Compilation failed 
in require at /dts/env/TRAVEL/app/dts/web/cgi-bin/webspeed.pl line 76. BEGIN 
failed--compilation aborted at 
/dts/env/TRAVEL/app/dts/web/cgi-bin/webspeed.pl line 76.
--
The script runs fine from the command line.
There are two versions of perl on the box 5.6 and 5.0005.  5.6 is first in 
the path on the command line (checked via perl -v and whereis).  I examined 
the perl-status page for mod_perl (Perl Configuration and Loaded Modules). 
They indicate that it's using 5.6 , the @INC paths have 5.6 stuff listed 
first, and all of the loaded modules are coming out of the 5.6 directory.

I am only using CGI and POSIX.  Since CGI was preloaded, I tried some 
arbitrary unloaded modules (Math::Trig, etc.) and they ran fine.

Any ideas?
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.

Reply via email to