Re: Problems with apreq2 on OS X

Patrick Galbraith <[email protected]>
Newsgroups gmane.comp.apache.apreq
Message-ID <[email protected]>
Fred,

Yes, on Suse 10.0 AMD64, I get:

/usr/local/apache2/bin/httpd: symbol lookup error: 
/usr/lib/perl5/site_perl/5.8.7/x86_64-linux-thread-multi/auto/APR/Request/Apache2/Apache2.so: 
undefined symbol: apreq_handle_apache2

I've found out I get this even if I don't use Apache2::Request. Very 
frustrating.

This is with apache 2.0.59 (thought maybe a different version might 
work, plus 2.2 failed because the build couldn't resolve libexpat).

I'm beginning to remember why I loved web development soooo much.

thanks,

Patrick

Fred Moyer wrote:

> Patrick Galbraith wrote:
>
>> [Sun Oct 29 12:38:27 2006] [notice] Apache/2.2.3 (Unix) mod_ssl/2.2.3 
>> OpenSSL/0.9.8d DAV/2 mod_perl/2.0.2 Perl/v5.8.8 configured -- 
>> resuming normal operations
>> dyld: lazy symbol binding failed: Symbol not found: 
>> _apreq_handle_apache2
>>  Referenced from: 
>> /opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level/auto/APR/Request/Apache2/Apache2.bundle 
>>
>>  Expected in: dynamic lookup
>>
>> dyld: Symbol not found: _apreq_handle_apache2
>>  Referenced from: 
>> /opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level/auto/APR/Request/Apache2/Apache2.bundle 
>>
>>  Expected in: dynamic lookup
>>
>> [Sun Oct 29 12:38:38 2006] [notice] child pid 11206 exit signal 
>> Trace/BPT trap (5)
>>
>> OS X version: Darwin radha.local 8.8.1 Darwin Kernel Version 8.8.1: 
>> Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 
>> i386 i386
>>
>> Not sure what this is. Anyone encountered this before?
>
>
> I ran into this also, same platform.  I have been digging around a bit 
> to see if I can resolve it but no luck so far - my foo in this area 
> isn't quite where it needs to be.  This works fine for me on Linux 
> though.
>
>> Also, is there a way to have access to things like $rec->param 
>> without having to use Apache2::Request/libapreq2? I ask this in case 
>> there is no solution for getting this to work, as well as on linux 
>> distributions I cannot get libapreq2 working.
>
>
> You can use CGI.  Are you hitting this same issue on Linux?
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.