Nginx on Solaris 10 x86 64
Igor Sysoev
is at rambler-co.ru
Tue Sep 18 22:14:48 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
It seems I know the cause: Solaris requires "-rpath" linking.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list