[PATCH] Configure: added new option --with-pcre-conf-opt=OPTIONS.
    rand at sent.com 
    rand at sent.com
       
    Wed Dec 11 18:10:44 UTC 2013
    
    
  
oops.  not quite ...
on systems where ld.so.conf does NOT point to the pcre path -- i.e, on
my production rather than dev boxes -- the RUNTIME link is incorrect,
ldd objs/nginx | egrep -i "pcre"
        libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007fa719a0d000)
This can be remedied by rpath'ing,
	--with-ld-opt=' ... -L/usr/local/lib64
	-Wl,-rpath,/usr/local/lib64 -lpcre'
resulting correctly in
ldd objs/nginx | egrep -i "pcre"
        libpcre.so.1 => /usr/local/lib64/libpcre.so.1
        (0x00007f961ada1000)
*IN*sensitive to local/runtime env
    
    
More information about the nginx-devel
mailing list