Problems with 2.2.16 and local openssl (newbie)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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:
        libm.so.6 => /lib/tls/libm.so.6 (0x0076d000)
        libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0 (0x00579000)
        libdb-4.2.so => /lib/tls/i686/libdb-4.2.so (0x00797000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00a8f000)
        libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0x00111000)
        libuuid.so.1 => /lib/tls/libuuid.so.1 (0x00135000)
        librt.so.1 => /lib/tls/librt.so.1 (0x00cd3000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00139000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00883000)
        libdl.so.2 => /lib/libdl.so.2 (0x00767000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00635000)
        /lib/ld-linux.so.2 (0x0061b000)

mod_ssl shows:
        libssl.so.0.9.8 => /usr/local/ssl/lib/libssl.so.0.9.8 (0x006c7000)
        libcrypto.so.0.9.8 => /usr/local/ssl/lib/libcrypto.so.0.9.8 (0x00d41000)
        libdl.so.2 => /lib/libdl.so.2 (0x00278000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0090b000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00111000)
        /lib/ld-linux.so.2 (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...


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux