I am trying to compile Apache 2.4.4 with proxy and SSL modules, but when I run configure:
./configure --enable-so --enable-mods-shared="proxy cache ssl all" --prefix="/etc/apache2" --with-included-apr --with-pcre=/usr/local/pcre
I get the error below:
Code:
checking whether to enable mod_ssl... checking dependencies
checking for OpenSSL... checking for user-provided OpenSSL base directory... none
checking for OpenSSL version >= 0.9.7... FAILED
configure: WARNING: OpenSSL version is too old
no
checking whether to enable mod_ssl... configure: error: mod_ssl has been requested but can not be built due to prerequisite failures
But when I run "openssl version" I see that I have 1.0.1, clearly higher than 0.9.7:
OpenSSL 1.0.1 14 Mar 2012
Nevertheless, I tried downloading the most recent OpenSSL, configuring it as follows:
./config --prefix=/usr zlib-dynamic --openssldir=/etc/ssl shared
But when I run make this too errors out with the following:
Code:
make[3]: Entering directory `/home/ryan/Downloads/openssl-1.0.1e'
make[4]: Entering directory `/home/ryan/Downloads/openssl-1.0.1e'
libcrypto.a(c_enc.o): In function `CAST_encrypt':
c_enc.c:(.text+0x0): multiple definition of `CAST_encrypt'
libcrypto.a(cast-586.o):cast-586.s:(.text+0x0): first defined here
libcrypto.a(c_enc.o): In function `CAST_decrypt':
c_enc.c:(.text+0x590): multiple definition of `CAST_decrypt'
libcrypto.a(cast-586.o):cast-586.s:(.text+0x4b0): first defined here
libcrypto.a(c_enc.o): In function `CAST_cbc_encrypt':
c_enc.c:(.text+0xaf0): multiple definition of `CAST_cbc_encrypt'
libcrypto.a(cast-586.o):cast-586.s:(.text+0x950): first defined here
collect2: ld returned 1 exit status
make[4]: *** [link_a.gnu] Error 1
make[4]: Leaving directory `/home/ryan/Downloads/openssl-1.0.1e'
make[3]: *** [do_linux-shared] Error 2
make[3]: Leaving directory `/home/ryan/Downloads/openssl-1.0.1e'
make[2]: *** [libcrypto.so.1.0.0] Error 2
make[2]: Leaving directory `/home/ryan/Downloads/openssl-1.0.1e'
make[1]: *** [shared] Error 2
make[1]: Leaving directory `/home/ryan/Downloads/openssl-1.0.1e/crypto'
make: *** [build_crypto] Error 1
All installed packages on my system are up to date, and I have run "apt-get build-dep openssl" just to be sure.
I have reached a point where I can't seem to find any more applicable leads on google, so any insight would be greatly appreciated!
Bookmarks