Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jul 2004
Problems compiling Apache + Mod SSL on AMD64
For the past week I have been banging my head against the wall trying to find a resolution to a compile problem with Apache 1.3.31 and the latest Mod SSL Patch.
I am compiling Apache much the same way that is described in on this guide: http://www.brtnet.org/linux/lampssl.htm - I am however each time presented with the following:
/usr/bin/ld: /root/new/openssl-0.9.7d/libssl.a(s2_srvr.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/root/new/openssl-0.9.7d/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libssl.so] Error 1
make: *** [all] Error 1
make: *** [subdirs] Error 1
make: Leaving directory `/root/new/apache_1.3.31/src'
make: *** [build-std] Error 2
make: Leaving directory `/root/new/apache_1.3.31'
make: *** [build] Error 2
I have attempted to build with -fPIC and -fPIC -DPIC with both Apache, and OpenSSL - but to no avail it still will not compile. I have also trawled google, altavista etc and have found no one having the same issue.. only similar, but again with no fix.
I hope someone can help, as an Opteron aint much use as a web server if you cant compile Apache on the damn thing!