httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricardo Stella <>
Subject [users@httpd] Problems with 2.2.16 and local openssl (newbie)
Date Mon, 13 Sep 2010 16:06:16 GMT

This is an older RHEL3 32bit system. We have problems compiling a local apache 2.2.16 with
openssl 0.9.8o. We had no problems with 2.2.15 (or at least it worked) 

openssl is installed in /usr/local/ssl - Note RHEL3 has it's own openssl 0.97a, but we want
to use the latest. We are using this: 

./configure --prefix=/usr/local/apache2 \ 
--with-perl=/usr/local/bin/perl \ 
--with-ssl=/usr/local/ssl --with-berkeley-db \ 
--with-ldap \ 
--enable-authnz-ldap --enable-ldap --enable-ssl --enable-mods-shared=most \ 
--enable-proxy=shared --enable-proxy_ajp=shared --with-included-apr 

However, we get the following error at startup: 

[Mon Sep 13 10:56:34 2010] [error] Unable to initialize TLS servername extension callback
(incompatible OpenSSL version?) 

It seems we are pointing to the wrong version. 2.2.15 works, but shows the following at startup:

[Mon Sep 13 11:00:17 2010] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.7a mod_perl/2.0.2
Perl/v5.8.7 configured -- resuming normal operations 

ldd shows the same for both 2.2.15 and 2.2.16 as follow: => /lib/tls/ (0x0076d000) => /usr/local/apache2/lib/ (0x00579000) => /lib/tls/i686/ (0x00797000) => /usr/lib/ (0x00a8f000) => /usr/local/apache2/lib/ (0x00111000) => /lib/tls/ (0x00135000) => /lib/tls/ (0x00cd3000) => /lib/ (0x00139000) => /lib/tls/ (0x00883000) => /lib/ (0x00767000) => /lib/tls/ (0x00635000) 
/lib/ (0x0061b000) 

mod_ssl shows: => /usr/local/ssl/lib/ (0x006c7000) => /usr/local/ssl/lib/ (0x00d41000) => /lib/ (0x00278000) => /lib/tls/ (0x0090b000) => /lib/tls/ (0x00111000) 
/lib/ (0x0061b000) 

If I do 'enable-ssl=static' then it compiles correctly and shows: 
[Mon Sep 13 11:34:57 2010] [notice] Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8o DAV/2
PHP/5.2.13 SVN/1.3.0 configured -- resuming normal operations 

Any ideas as to how to properly compile it in shared mode? 

Thanks in advance... 

View raw message