apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom McSherry" <tom.mcshe...@anam.com>
Subject RE: apr and aprutil
Date Tue, 16 Mar 2004 16:16:15 GMT
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.


-----Original Message-----
From: Klaus Keppler
Sent: 16 March 2004 15:36
To: tom.mcsherry@anam.com
Cc: dev@apr.apache.org
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. :-)


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

View raw message