httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Farber <alexander.far...@gmail.com>
Subject Re: How to link my C module against libapreq.a?
Date Tue, 31 Jan 2006 19:00:54 GMT
Nevermind, I've figured it out by rereading "man gcc"!
I have to put my .o files before the -L ... -lapreq:

gcc build/mod_pref.o build/pgsql.o -shared -fPIC -DSHARED_MODULE -L
/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/libapreq -lapreq
-L /usr/local/lib -lpq -o mod_pref.so

On 1/31/06, Alexander Farber <alexander.farber@gmail.com> wrote:
> could someone please give me a hint,
> how to use libapreq from my Apache module?
...
>     laptop:afarber {862} sudo /usr/sbin/httpd -X
>     /usr/sbin/httpd:/usr/lib/apache/modules/mod_pref.so: undefined
> symbol 'ApacheRequest_new'

Mime
View raw message