Apache with SSL on Solaris compiles, but get error when I run it
Posted on 2005-04-26
I am trying to build Apache with SSL support from source, and I compiled OpenSSL 0.9.7g using gcc 2.95.3 on a Solaris 9 system.
The build/compiles for both OpenSSL and Apache *seemed* to go ok, but
when I tried to run Apache, (either ./apachectl start or ./httpd
-<anything>), I am getting an error, something like:
"Cannot load /usr/local/apache2/module/mod_auth_digest.so into
the server: ld.so.1: fatal: relocation error: file ...symbol
__floatdidf not found"
I added /usr/ccs/bin to the beginning of the PATH, and /opt/sft/bin
(where gcc is) to the end of the PATH before doing the OpenSSL build.
The config I used for OpenSSL was:
./config -fPIC shared -prefix=/usr/local/openssl
The OpenSSL compile/build seemed like it went ok (no errors), and the
subsequent build of Apache (2.0.52) also seemed to be ok.
I then set the LD_LIBRARY_PATH to
before doing the Apache build, and used:
./configure --prefix=/usr/local/apache2 --enable-mods-shared=most
when building Apache, which seemed to go all right.
Can anyone tell me how to diagnose/fix this problem?