Anybody here ? :-)

> -----Original Message-----
> From: owner-openssl-us...@openssl.org 
> [mailto:owner-openssl-us...@openssl.org] On Behalf Of Serge Kolodeznyh
> Sent: Thursday, February 17, 2011 12:55 PM
> To: openssl-users@openssl.org
> Subject: Shared library problem ?- Solaris - nonstandard ssl folder
> 
>  
> Hello all.
> 
> I'm trying to build openssl 1.0.0 (c/d) on Solaris 10 u8 (x86/64bit).
> 
> I compiled it in 64-bit mode and with key 
> -openssldir=/usr/local/ssl64 Make is ok and make test/install is ok.
> 
> But, when I'm checking links for shared librares, I see that 
> link to libcrypto isn't found:
> 
> # ldd libssl.so.1.0.0
>         libcrypto.so.1.0.0 =>    (file not found)
>         libsocket.so.1 =>        /lib/64/libsocket.so.1
>         libnsl.so.1 =>   /lib/64/libnsl.so.1
>         libdl.so.1 =>    /lib/64/libdl.so.1
>         libz.so.1 =>     /usr/lib/64/libz.so.1
>         libc.so.1 =>     /lib/64/libc.so.1
>         libmp.so.2 =>    /lib/64/libmp.so.2
>         libmd.so.1 =>    /lib/64/libmd.so.1
>         libscf.so.1 =>   /lib/64/libscf.so.1
>         libdoor.so.1 =>  /lib/64/libdoor.so.1
>         libuutil.so.1 =>         /lib/64/libuutil.so.1
>         libgen.so.1 =>   /lib/64/libgen.so.1
>         libm.so.2 =>     /lib/64/libm.so.2
> 
> Is it normal ?) Adding to LDFLAGS -R/usr/local/ssl64 or 
> -L/usr/local/ssl64 doesn't help.
> 
> Building script:
> 
> --------------------------------------------------------------
> CC="cc"
> CFLAGS="-m64"
> CXXFLAGS="-m64"
> LDFLAGS="-R/lib/64 -L/lib/64"
> export CC
> export CFLAGS
> export CXXFLAGS
> export LDFLAGS
> 
> make clean
> ./config --openssldir=/usr/local/ssl64 shared zlib threads 
> >./config.log make
> --------------------------------------------------------------
> 
> Thanks.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to