Laurent Blume wrote:

prakash babu wrote:

*Solution 1 :*
Create a symbolic link in the system directory for libcrypto.so and libssl.so
ln -s /usr/local/openssl-0.9.7g/lib/libcrypto.so /usr/lib/libcrypto.so
ln -s /usr/local/openssl-0.9.7g/lib/libssl.so /usr/lib/libssl.so


Evil. This is a sure road to troubles at some point (I know, some dumb sysadmins have messed with a few boxes in such ways before I arrived, they're a real PITA to update now).

*Solution 2*
Specify a embedded path for the library using the flag* -Wl,+b /usr/local/openssl-0.9.7g/lib* (not sure for SunCC)


Yes, but how do I pass it along using the config script?
-R should have done it.

Thanks for answering!


As it is Solaris, use export LD_OPTIONS='-R/usr/local/openssl-0.9.7g/lib -L/usr/local/openssl-0.9.7g/lib' The linker will take that into consideration, and if you do a dump -Lv on the output file, the RUNPATH should be included.

/Andreas




______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to