Hello,
My system (Ubuntu 9.10 server) does have libpcre3 and apache2 installed.
# apache2 -v
Server version: Apache/2.2.14 (Ubuntu)
Server built: Mar 5 2012 16:42:17
# ldd /usr/sbin/apache2|grep pcre
libpcre.so.3 => /lib/libpcre.so.3 (0x00007fedc971c000)
# ls -l /lib/libpcre.so.3
lrwxrwxrwx 1 root root 17 2011-07-12 12:49 /lib/libpcre.so.3 ->
libpcre.so.3.12.1
When I tried to configure mod_security with:
./configure --with-pcre=/lib
It goes wrong:
configure: looking for Apache module support via DSO through APXS
configure: found apxs at /usr/bin/apxs2
configure: checking httpd version
configure: httpd is recent enough
checking for libpcre config script... no
configure: *** pcre library not found.
configure: error: pcre library is required
Since libpcre3 is installed in the system /lib dir, why the configure
script can't find it?
Thanks.
|