Hi Klaus, 

Thanks for your help.

FYI, the output from apr-config and apu-config seems to be incorrect:
"-L/usr/local/httpd-2.0.48/srclib/apr -lapr-0" and
"-L/usr/local/httpd-2.0.48/srclib/apr-util -laprutil-0"

as the libraries are located in a hidden ".libs" directory under
apr and apr-util.

Regards
Tom 

-----Original Message-----
From: Klaus Keppler
[mailto:[EMAIL PROTECTED]
Sent: 16 March 2004 15:36
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: apr and aprutil


Have a look at the "apr-config" tool. (use --help to see all options)

Type "apr-config --link-ld" - this should solve your problem. :-)


    Klaus

Tom McSherry schrieb:
> Hi,
>  
> I have installed httpd-2.0.48 on both redhat Linux 9 and Windows 2000 
> Professional.
> I have successfully built Apache server on both platforms and am now 
> trying to link a filter
> I wrote with the apr and aprutil libraries but am unable to find them on 
> Linux.
>  
> When I issue the command "gcc -shared -L$LIB -lapr -laprutil filter.o -o 
> filter.so"
> what path(s) should be included in $LIB?
> 
> Thanks
> Tom

Reply via email to