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

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to