httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stanley Dziegiel <>
Subject [users@httpd] How to link pcre statically into Apache 2.4.9?
Date Fri, 23 May 2014 14:56:06 GMT
At work we compile Apache ourselves with some custom modules. I have been
asked to upgrade from Apache 2.2 to Apache 2.4. The build script mostly
works but we would like to continue to link pcre in statically and I am
struggling to find the right combination of switches to configure.

The decoupling of pcre is causing me problems. Ideally I would like to be
able to treat pcre as apr and apr-util and build it in the Apache tree as
in 2.2. Having failed to do that I would now like to link pcre statically.

I have tried the following two with no joy:



but it is still linked dynamically:

    ldd  .libs/httpd | grep pcre => lib/

I realise that this is not the preferred direction but would like to link
it statically for the time being. I will keep plugging away but if anyone
still does this what am I missing?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message