Sander, Thanks for providing info. I am using Sun Solaris Version 10.
Regards, srinivas jonnalagadda -----Original Message----- >From: Sander Temme <san...@temme.net> >Sent: Mar 27, 2009 11:43 PM >To: openssl-users@openssl.org >Subject: Re: How to install 2 instances of openssl on the same machine > > >On Mar 26, 2009, at 6:04 AM, Srinivas Jonnalagadda wrote: > >> I need to have 2 separate installations of apache2 http server >> refereing to 2 different versions of openssl. One is using 0.9.8b >> and the other uses 0.9.8i. How do i install open ssl in such a >> scenario. Help is urgently needed. > >As other respondents have said, you must install the two copies of >OpenSSL in separate locations. In addition, it appears that >hardcoding the path to a linked library in Apache modules does not >work very well on Linux. So, you must point each copy of Apache to >the proper copy of OpenSSL by setting the LD_LIBRARY_PATH environment >variable. On Solaris, this is not necessary since the linker does the >right thing. > >If you choose to install OpenSSL in the same prefix as Apache itself >and start Apache using the apachectl script, you don't have to set the >environment variable since the script sets it to the lib directory >under your Apache installation, and that is also where your OpenSSL >libraries will be. > >You don't tell us which operating system you are using, but the >'apache2' moniker is used by Debian and its derivatives like Ubuntu. >If you are on Red Hat 5, you can't run a custom copy of OpenSSL since >Red Hat links OpenSSL into the C library, which is loaded by the httpd >binary before it loads its modules, and while mod_ssl may be linked >against your copy, you will find that the system copy always wins. > >S. > >-- >san...@temme.net http://www.temme.net/sander/ >PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org