Sorry for the confusion Igor and thanks to both of u. Using configure, I set the path to openssl 0.9.8k that I built in a separate directory before rebuild of apaci ./configure --prefix=/usr/local/apache2 --enable-modules=most --enable-mods-shared=all --disable-authz-default --disable-dav --enable-proxy --enable-ssl --with-ssl=${BUILDIR}/../openssl-0.9.8k --with-mpm=worker --enable-so --enable-rewrite --enable-log-config --with-included-apr However, checking the maps file, it uses /lib/libssl.so.0.9.6b. In the other hand, it seems that shared lib of of 0.9.8k is not generated as part of openssl built. Moreover, due to redhat limitation the version installed by the OS can not be overwritten. Do I have to set an option to set another path for installation of openssl not to overwrite the OS version? How can I get the .so file as output of the openssl build? Once done, I suppose that I should add the path of the newly build openssl so file in LD_LIBRARY_PATH Now, I understand the "Enjoy" of Sander... ;-) To: users@xxxxxxxxxxxxxxxx Date: Tue, 23 Feb 2010 09:23:54 +0000 From: daniel.goulder@xxxxxxxxx Subject: RE: How do I pick up correct version of SSL Hi Paul
Sorry it's the other way round. The ldd command tells you which
libraries that the linker will call at runtime when the binary is
executed.
Igor was correct
If you want to specify the library you need to set LD_LIBRARY_PATH to
include the library you are after before execution
To check what libraries will be linked, use ldd as Igor has
specified.
To check what libraries have been linked by a running PID, take a
look at /proc/<pid>/maps
Danny
______________________________________________________________________ This e-mail and any attached files are intended for the named addressee only. It contains information, which may be confidential and legally privileged and also protected by copyright. Unless you are the named addressee (or authorised to receive for the addressee) you may not copy or use it, or disclose it to anyone else. If you received it in error please notify the sender immediately and then delete it from your system. Please be advised that the views and opinions expressed in this e-mail may not reflect the views and opinions of Associated Newspapers Limited or any of its subsidiary companies. We make every effort to keep our network free from viruses. However, you do need to check this e-mail and any attachments to it for viruses as we can take no responsibility for any computer virus which may be transferred by way of this e-mail. Use of this or any other e-mail facility signifies consent to any interception we might lawfully carry out to prevent abuse of these faciliti es. Associated Newspapers Ltd. Registered Office: Northcliffe House, 2 Derry St, Kensington, London, W8 5TT. Registered No 84121 England. Hotmail: Powerful Free email with security by Microsoft. Get it now. |