This is a discussion on Build Apache 1.3.37 with mod_ssl on Ubuntu x86_64 - modssl ; I'm trying to build apache 1.3.37 with ssl support on a Ubuntu 6.1 running on a AMD Turion 64. I've downloaded the following packages: Apache 1.3.37 sources (apache_1.3.37.tar.gz from httpd.apache.org) Mod SSL 2.8.28 (mod_ssl-2.8.28-1.3.37.tar.gz from www.modssl.org ) Open SSL 0.9.8e ...
I'm trying to build apache 1.3.37 with ssl support on a Ubuntu 6.1
running on a AMD Turion 64.
I've downloaded the following packages:
Apache 1.3.37 sources (apache_1.3.37.tar.gz from httpd.apache.org)
Mod SSL 2.8.28 (mod_ssl-2.8.28-1.3.37.tar.gz from www.modssl.org)
Open SSL 0.9.8e (openssl-0.9.8e.tar.gz from www.openssl.org)
I've built openssl as described into the INSTALL file provided with
mod_ssl distribution, using gcc-4.0:
../config no-idea -fPIC no-threads --prefix=/path/to/local/openssl
Then I've patched Apache by using (into the mod_ssl directory):
then I've switched to the apache tree and configured it as follows:
I received the ld error while linking libssl.so saying that libcrypto.a
(module x86_64cpuid.o) cannot be relocated, compile with -fPIC (but is
what I've done).
I've also tried using gcc-3.3 as well as using -fpic instead of -fPIC
while building openssl.
I've tried to use the DSO version of libcrypto/libssl and compilation
coes well but when starting apache it stops due to unresolved symbols
I found nothing appropriate on the Internet, because all solutions are
"rebuild openssl with -fPIC (but is what I'm doing).
Can someone help me?
Thanks in Advance
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List firstname.lastname@example.org
Automated List Manager email@example.com