<div dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">hi,</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">i'm trying to build from source on an ubuntu system which has libpcre3 installed:</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">tony@quantal:~/Downloads/nginx-1.3.14$ dpkg -l | grep pcre</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">ii libpcre3:i386 1:8.30-5ubuntu1 i386 Perl 5 Compatible Regular Expression Library - runtime files</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">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:</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">--with-ld-opt="-L/lib/i386-linux-gnu"</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">but still get:</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">-----------------</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">...</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">checking for PCRE library ... not found</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">checking for PCRE library in /usr/local/ ... not found</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">checking for PCRE library in /usr/include/pcre/ ... not found</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">checking for PCRE library in /usr/pkg/ ... not found</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">checking for PCRE library in /opt/local/ ... not found</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">./configure: error: the HTTP rewrite module requires the PCRE library.</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">You can either disable the module by using --without-http_rewrite_module</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">option, or install the PCRE library into the system, or build the PCRE library</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">statically from the source with nginx by using --with-pcre=<path> option.</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">----------------</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">any guidance appreciated!</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium">
<span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">thx,</span><br style="clear:both;color:rgb(0,0,0);font-family:Arial;font-size:medium"><span style="color:rgb(0,0,0);font-family:Arial;font-size:medium">tony.</span><br>
</div>