Re: APR::Request gets Symbol Not Found

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Wed, Nov 18, 2009 at 9:55 PM, Bill Karwin <[email protected]> wrote:
> However when I try to test that I can load the module:
>
> $ perl -MAPR::Request -e true
> Can't load
> '/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/APR/Request/Request.bundle'
> for module APR::Request:
> dlopen(/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/APR/Request/Request.bundle,
> 1):
> Symbol not found: _apreq_hook_disable_uploads
>  Referenced from:
> /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/APR/Request/Request.bundle
>  Expected in: dynamic lookup
>  at - line 0
> Compilation failed in require.
> BEGIN failed--compilation aborted.


Hi Bill,

You can't load some of the Apache:: modules from the command-line.
They depend on the apache environment to run.  Try loading it from
your httpd.conf instead.

- Perrin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.