build from source pointing to installed libs (e.g. pcre)

anthony kerz anthony.kerz at gmail.com
Thu Mar 7 13:11:21 UTC 2013


hi,

i'm trying to build from source on an ubuntu system which has libpcre3
installed:

tony at quantal:~/Downloads/nginx-1.3.14$ dpkg -l | grep pcre
ii libpcre3:i386 1:8.30-5ubuntu1 i386 Perl 5 Compatible Regular Expression
Library - runtime files

but i can't for the life of me get the configure script to resolve to this,
libpcre.so.3 is in /lib/i386-linux-gnu, so i've tried:

--with-ld-opt="-L/lib/i386-linux-gnu"

but still get:
-----------------
...
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for PCRE library in /opt/local/ ... not found

./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE
library
statically from the source with nginx by using --with-pcre=<path> option.
----------------

any guidance appreciated!

thx,
tony.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130307/4201b1b4/attachment.html>


More information about the nginx mailing list