Compiling Apache 2.0 with SSL
Having problems compiling Apache 2.0 with SSL. I use the following to configure:
./configure --enable-so --enable-mods-shared=most --enable-ssl --with-ssl=/usr/local/ssl where /usr/local/ssl is where my openssl.cnf is located. Configure exits with no errors. When I make, I get the following before it exits with an error: /usr/local/src/httpd-2.0.50/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/src/httpd-2.0.50/srclib/apr/include -I/usr/local/src/httpd-2.0.50/srclib/apr-util/include -I/usr/local/src/httpd-2.0.50/srclib/apr-util/xml/expat/lib -I. -I/usr/local/src/httpd-2.0.50/os/unix -I/usr/local/src/httpd-2.0.50/server/mpm/prefork -I/usr/local/src/httpd-2.0.50/modules/http -I/usr/local/src/httpd-2.0.50/modules/filters -I/usr/local/src/httpd-2.0.50/modules/proxy -I/usr/local/src/httpd-2.0.50/include -I/usr/local/src/httpd-2.0.50/modules/generators -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -I/usr/local/src/httpd-2.0.50/modules/dav/main -export-dynamic -L/usr/local/src/httpd-2.0.50/srclib/apr-util/xml/expat/lib -L/usr/local/ssl/lib -o dftables -L/usr/local/src/httpd-2.0.50/srclib/apr-util/xml/expat/lib -L/usr/local/ssl/lib dftables.lo -lssl -lcrypto ./dftables > /usr/local/src/httpd-2.0.50/srclib/pcre/chartables.c ./dftables: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory Now, I noted that the output above has "-L/usr/local/ssl/lib". In that folder, libssl.so.0.9.7 does in fact exist there. Versions: Fedora Core 1 openssl-0.9.7d httpd-2.0.50 Any suggestions? Thanks in advance... |
you could try:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ssl/lib might help it get over it's confusion |
Quote:
But it didn't seem to generate a mod_ssl.so. |
Answering my own question..
I'm such a dumba**. When Ifirst started this, it was installing into /usr/local/apache Somwhere down the line, I switched to /usr/local/apache2. I was starting from the original one, which of course, never had ssl compiled... Fixed now. |
All times are GMT -5. The time now is 05:33 AM. |