Nginx on Solaris 10 x86 64
Igor Sysoev
is at rambler-co.ru
Tue Sep 18 22:22:29 MSD 2007
On Tue, Sep 18, 2007 at 01:56:57PM -0400, Wayne E. Seguin wrote:
> On Sep 18, 2007, at 13:50 , Igor Sysoev wrote:
> >What does ldd show if you leave libprce in /usr/local/lib only ?
>
> # rm - f /usr/lib/libpcre*
>
> # ls /usr/local/lib/libpcre*
> /usr/local/lib/libpcre.a /usr/local/lib/libpcre.so.
> 0 /usr/local/lib/libpcrecpp.la /usr/local/lib/
> libpcrecpp.so.0.0.0 /usr/local/lib/libpcreposix.so
> /usr/local/lib/libpcre.la /usr/local/lib/libpcre.so.
> 0.0.1 /usr/local/lib/libpcrecpp.so /usr/local/lib/
> libpcreposix.a /usr/local/lib/libpcreposix.so.0
> /usr/local/lib/libpcre.so /usr/local/lib/
> libpcrecpp.a /usr/local/lib/libpcrecpp.so.0 /usr/
> local/lib/libpcreposix.la /usr/local/lib/libpcreposix.so.0.0.0
>
> # ldd /sbin/nginx
> libsocket.so.1 => /lib/libsocket.so.1
> libnsl.so.1 => /lib/libnsl.so.1
> librt.so.1 => /lib/librt.so.1
> libsendfile.so.1 => /lib/libsendfile.so.1
> libpcre.so.0 => (file not found)
> libz.so.1 => /usr/lib/libz.so.1
> libc.so.1 => /lib/libc.so.1
> libmp.so.2 => /lib/libmp.so.2
> libmd.so.1 => /lib/libmd.so.1
> libscf.so.1 => /lib/libscf.so.1
> libuutil.so.1 => /lib/libuutil.so.1
> libgen.so.1 => /lib/libgen.so.1
> libm.so.2 => /lib/libm.so.2
Try the attached patch.
--
Igor Sysoev
http://sysoev.ru/en/
-------------- next part --------------
Index: auto/lib/pcre/conf
===================================================================
--- auto/lib/pcre/conf (revision 809)
+++ auto/lib/pcre/conf (working copy)
@@ -111,7 +111,7 @@
ngx_feature_run=no
ngx_feature_incs="#include <pcre.h>"
ngx_feature_path="/usr/local/include"
- ngx_feature_libs="-L /usr/local/lib -lpcre"
+ ngx_feature_libs="-R /usr/local/lib -L /usr/local/lib -lpcre"
ngx_feature_test="pcre *re;
re = pcre_compile(NULL, 0, NULL, 0, NULL)"
. auto/feature
More information about the nginx
mailing list