Forum Moderators: phranque

Message Too Old, No Replies

Apache pointing to old openssl version after recompilation

upgraded openssl version and recompiled apache but refering to old openssl

         

IamRasheed

9:19 am on Sep 3, 2015 (gmt 0)

10+ Year Member



Hi,

I need a help in apache compilation.

Recently we upgraded the openssl version in our solaris server.

Old version OpenSSL 0.9.7d is there in the path /usr/sfw/bin/
We installed new version OpenSSL 0.9.8i in the path /usr/local/ssl/

ls -lrt /usr/local/ssl
total 34
-rw-r--r-- 1 bin bin 9374 Oct 1 2008 openssl.cnf
drwxr-xr-x 2 bin bin 512 Jul 2 18:46 bin
drwxr-xr-x 2 bin bin 512 Jul 2 18:46 certs
drwxr-xr-x 3 bin bin 512 Jul 2 18:46 include
drwxr-xr-x 4 bin bin 512 Jul 2 18:46 lib
drwxr-xr-x 6 bin bin 512 Jul 2 18:46 man
drwxr-xr-x 2 bin bin 512 Jul 2 18:46 misc
drwxr-xr-x 2 bin bin 512 Jul 2 18:46 private

After we installed the openssl version, we taken backup of the current apache folder /pp/apache and removed that folder and installed the apache once again using the below command. but after the installation with the new openssl path as argument still apache referring the old openssl version. Could anyone please help me on this ?

./configure \
CC="/usr/local/bin/gcc" CFLAGS=-fstack-protector \
--prefix=/pp/apache \
--enable-ssl=shared \
--enable-so \
--with-ssl=/usr/local/ssl \
--enable-rewrite=shared \
--enable-speling=shared \
--disable-userdir \
--disable-status \
--with-mpm=worker \
--enable-mods-shared="autoindex asis actions include" \
--enable-proxy=shared \
--enable-proxy_ajp=shared \
--enable-log-forensic=shared \
--enable-filter \
--disable-cgi \
--enable-cgid \
--enable-deflate=shared \
--enable-cache=shared \
--enable-mem-cache=shared


mod ssl pointing to old version :

ldd /pp/apache/modules/mod_ssl.so
libssl.so.0.9.7 => /usr/sfw/lib/libssl.so.0.9.7
libcrypto.so.0.9.7 => /usr/sfw/lib/libcrypto.so.0.9.7
libsocket.so.1 => /lib/libsocket.so.1
libnsl.so.1 => /lib/libnsl.so.1
libdl.so.1 => /lib/libdl.so.1
libc.so.1 => /lib/libc.so.1
libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
libscf.so.1 => /lib/libscf.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
libssl_extra.so.0.9.7 => /usr/sfw/lib/libssl_extra.so.0.9.7
libcrypto_extra.so.0.9.7 => /usr/sfw/lib/libcrypto_extra.so.0.9.7
libm.so.2 => /lib/libm.so.2
/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1
/platform/SUNW,SPARC-Enterprise-T5220/lib/libmd_psr.so.1

IamRasheed

3:28 am on Sep 7, 2015 (gmt 0)

10+ Year Member



could anyone please help me out ?

lucy24

4:45 am on Sep 7, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



We're not ignoring you, honest. You need someone who actually speaks Apache (I just do Regular Expressions) and it looks as if both of them are on vacation :(

IamRasheed

5:22 am on Sep 7, 2015 (gmt 0)

10+ Year Member



I understood Lucy, Thank you for your kind reply :)