Subject: "undefined symbol: X509_free" when starting apache 2.0.40 with mod_ssl

From: Joseph Shraibman <[email-masked]>
Date: Mon, 09 Sep 2002 19:12:37 -0400

I have openssl 0.9.6g installed in /usr/local/ssl. My ld.so.conf has:
/usr/local/ssl/lib as the first line.  When I try to start apache I get:

Syntax error on line 235 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_ssl.so into server: 
/usr/local/apache2/modules/mod_ssl.so: undefined symbol: X509_free

[root@d1 /usr/local/apache2/bin] ldd apache2
         libaprutil.so.0 => /usr/local/apache2/lib/libaprutil.so.0 (0x40015000)
         libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40032000)
         libdb.so.3 => /lib/libdb.so.3 (0x40038000)
         libexpat.so.0 => /usr/local/apache2/lib/libexpat.so.0 (0x40072000)
         libapr.so.0 => /usr/local/apache2/lib/libapr.so.0 (0x4008f000)
         libm.so.6 => /lib/libm.so.6 (0x400aa000)
         libcrypt.so.1 => /lib/libcrypt.so.1 (0x400c7000)
         libnsl.so.1 => /lib/libnsl.so.1 (0x400f5000)
         libresolv.so.2 => /lib/libresolv.so.2 (0x4010b000)
         libdl.so.2 => /lib/libdl.so.2 (0x4011a000)
         libpthread.so.0 => /lib/libpthread.so.0 (0x4011f000)
         libc.so.6 => /lib/libc.so.6 (0x40132000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[root@d1 /usr/local/apache2/bin] ldd ../modules/mod_ssl.so
         libc.so.6 => /lib/libc.so.6 (0x40031000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

I configured apache with:
./configure --enable-ssl=shared  --enable-info=shared   --enable-include=shared

-- 
Joseph Shraibman
[email-masked]
Increase signal to noise ratio.  http://xis.xtenit.com

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email-masked]
Automated List Manager                            [email-masked]