[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    apache won't start, strange dynaloader problem...
From:       Jim Woodgate <woody () realtime ! net>
Date:       2001-06-28 21:22:31
[Download RAW message or body]


sorry if this has been answered before, didn't find anything in the
archives, and I've done this at least half a dozen times before with
no problems.

Mandrake 8.0
apache-1.3.20
perl-5.6.1
mod_perl-1.25

I had problems compiling Apache::Request with the native Mandrake
apache/perl, so I downloaded the latest stable versions and built a
static "flexible" mod_perl httpd (but with DSO enabled in case I want
to add more modules later)

Things seem to work for the most part, but mod_perl is unable to load
modules that have shared libraries.  This the error I get for having
use Apache::Request(); in my startup.pl

[Thu Jun 28 16:04:01 2001] [error] Can't load \
'/usr/contrib/lib/perl5/site_perl/5.6.1/i686-linux/auto/Apache/Request/Request.so' \
for module Apache::Request: libapreq.so.0: cannot load shared object file: No such \
file or directory at /usr/contrib/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 206.


Request.so is there, and I checked the directories leading up to it
they are all world readable and after a su - nobody (who the web
server runs as) nm Request.so worked fine.  Also the directories under
/usr/contrib are where my versions of perl live.

Running startup.pl with the "normal" intepreter works fine, and I've
seen a similar problem with Image::Magick, so it looks like some
problem with the embedded perl and dynaloader.

Any help would be greatly appreciated!

-- 
woody@realtime.net


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic