<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">This procedure works fine for
years on RH/CentOS 3+<br>
The current machine is a core 2 duo with x86_64 CentOS 4.4 (updated)<br>
<br>
Compile, make and install openssl in /usr/local/openssl<br>
configure mod_ssl for apache 1.3.37<br>
configure apache using <br>
SSL_BASE=/usr/local/openssl SSL_INCDIR=/usr/local/openssl/include
SSL_LIBDIR=/usr/local/openssl/lib ./configure --with-layout=Apache
--prefix=/usr/local/apache --enable-module=most --enable-shared=max
--enable-module=ssl<br>
<br>
make dies here:<br>
gcc -L/usr/local/openssl/lib -shared  -o libssl.so mod_ssl.lo
ssl_engine_config.lo ssl_engine_compat.lo ssl_engine_ds.lo
ssl_engine_dh.lo ssl_engine_init.lo ssl_engine_kernel.lo
ssl_engine_rand.lo ssl_engine_io.lo ssl_engine_log.lo
ssl_engine_mutex.lo ssl_engine_pphrase.lo ssl_engine_vars.lo
ssl_engine_ext.lo ssl_scache.lo ssl_scache_dbm.lo ssl_scache_shmht.lo
ssl_scache_shmcb.lo ssl_expr.lo ssl_expr_scan.lo ssl_expr_parse.lo
ssl_expr_eval.lo ssl_util.lo ssl_util_ssl.lo ssl_util_sdbm.lo
ssl_util_table.lo  -lssl -lcrypto
-L/usr/lib/gcc/x86_64-redhat-linux/3.4.6 -lgcc  <br>
/usr/bin/ld: /usr/local/openssl/lib/libssl.a(s2_srvr.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC<br>
/usr/local/openssl/lib/libssl.a: could not read symbols: Bad value<br>
collect2: ld returned 1 exit status<br>
make[4]: *** [libssl.so] Error 1<br>
make[3]: *** [all] Error 1<br>
make[2]: *** [subdirs] Error 1<br>
make[2]: Leaving directory `/downloads/apache_1.3.37/src'<br>
make[1]: *** [build-std] Error 2<br>
make[1]: Leaving directory `/downloads/apache_1.3.37'<br>
make: *** [build] Error 2<br>
<br>
It seems there's something wrong with mod_ssl on 64bit OS, but yet I
see RPM's that claim to work (haven't tried).  I have googled for hours
but haven't found anything helpful.  Anyone out there familiar with
this issue and it's resolve?<br>
<br>
Thx<br>
<br>
<br>
</font>
</body>
</html>