[Aside - I posted a similar query to the users list and got a
couple of suggestions but no solution, so I'm reposting here]
In brief:
I'm trying to build http 2.0.55 against openssl 0.9.8a.
I've built (but not installed) a local copy of openssl, with
shared libraries. I've built http like this:
cd httpd-2.0.55/
./configure \
--prefix=/usr/local/apache2-ssl \
--with-ssl=/home/stephen/apache/openssl-0.9.8a \
--enable-mods-shared=all \
--enable-ssl
make
make install
i.e. with an attempt to link it against the openssl libs
in the indicated directory.
httpd build and installs fine, but when I try to start it
I get this:
[EMAIL PROTECTED] $ bin/apachectl startssl
Syntax error on line 251 of /usr/local/apache2-ssl/conf/httpd.conf:
Cannot load /usr/local/apache2-ssl/modules/mod_ssl.so into server:
/usr/local/apache2-ssl/modules/mod_ssl.so: undefined symbol: X509_STORE_CTX_set_depth
and ldd shows that bin/httpd is linking against openssl 0.9.7
in /usr/lib:
[EMAIL PROTECTED] $ ldd bin/httpd
linux-gate.so.1 => (0xffffe000)
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40018000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40048000)
...
However, I'm baffled as to how I can get it to link against
my local openssl-0.9.8a libraries, if not with --with-ssl.
Any suggestions ?
--
Regards
Stephen Collyer
Netspinner Ltd