You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jim Woodgate <wo...@realtime.net> on 2001/06/28 23:22:31 UTC
apache won't start, strange dynaloader problem...
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
Re: apache won't start, strange dynaloader problem...
Posted by Jim Woodgate <wo...@realtime.net>.
that was the problem, it put the libapreq libraries in /usr/local/lib,
once I put /usr/local/lib in /etc/ld.so.conf it worked fine. thanks!
Doug MacEachern writes:
> On Thu, 28 Jun 2001, Jim Woodgate wrote:
>
> > [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
>
> but where is libapreq.so.0 ?
>
>
--
woody@realtime.net
Re: apache won't start, strange dynaloader problem...
Posted by Doug MacEachern <do...@covalent.net>.
On Thu, 28 Jun 2001, Jim Woodgate wrote:
> [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
but where is libapreq.so.0 ?