You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by mohamed nadir belkhelfa <na...@gmail.com> on 2008/03/10 09:51:01 UTC
how to link a module apache with external library ?
hello everybody
I am novice in the development by the apache1.3 API
I have create a dynamic library, and I want to link this library with my
module mod_warc.
have you an example which explain how to link with a dynamic library (use
apxs or source compilation)
thanks
Re: how to link a module apache with external library ?
Posted by Brian McQueen <mc...@gmail.com>.
Here is an example which is more than you'll likely need:
/usr/local/apache2/bin/apxs -c ../lib/libcurl.a ../lib/libidn.a -lz
-lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl
-lnod32 -Wl,`/usr/local/apache2/bin/apr-1-config --link-ld`
mod_ysi_vs.c
On Mon, Mar 10, 2008 at 1:51 AM, mohamed nadir belkhelfa
<na...@gmail.com> wrote:
> hello everybody
> I am novice in the development by the apache1.3 API
> I have create a dynamic library, and I want to link this library with my
> module mod_warc.
> have you an example which explain how to link with a dynamic library (use
> apxs or source compilation)
>
> thanks
>