Nginx on Solaris 10 x86 64

marc at corky.net marc at corky.net
Tue Sep 18 22:12:20 MSD 2007


Wayne,

Run 'crle' (man crle) and see how you can add /usr/local/lib to the 
system's library search path.  If you don't want to do that, a simple 
symlink will also do the trick.   There's no need to redundantly copy 
the same to a few places. 

Marc


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
>
>   ~Wayne
>
> s///g
> Wayne E. Seguin
> Sr. Systems Architect & Systems Administrator
>






More information about the nginx mailing list