You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by John <de...@itsnetwork.net> on 2004/05/25 05:00:59 UTC

[users@httpd] Apache 2.0.49 + OpenSSL 0.9.7d as DSO

Hi everyone,

I'm getting the following error trying to start apache.

Googling revealed that this is caused by the module being compiled
statically, but I get the same result when I compile using -with-ssl=shared.

"Syntax error on line 262 of /home/httpd/config/httpd/httpd.conf:
Cannot load /home/httpd/shared/httpd/modules/mod_ssl.so into server:
/home/httpd/shared/httpd/modules/mod_ssl.so: undefined symbol: X509_free"

Alternatively can someone suggest a good howto on compiling apache 2.0.x
with Mod_SSL as a DSO?

" export CFLAGS="-O2 -march=i686 -funroll-loops -D_REENTRANT
-D_SINGLE_LISTEN_UNSERIALIZED_ACCEPT -fPIC"
./configure --prefix=/home/httpd/shared/httpd \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--mandir=/usr/share/man \
--sysconfdir=/home/httpd/config/httpd \
--includedir=/usr/include/httpd \
--libexecdir=/home/httpd/shared/httpd/modules \
--datadir=/home/httpd/htdocs \
--localstatedir=/var/httpd \
--with-mpm=prefork \
--enable-access=shared \
--enable-actions=shared \
--enable-alias=shared \
--enable-auth=shared \
--enable-auth-dbm=shared \
--enable-auth-digest=shared \
--enable-autoindex=shared \
--enable-cern-meta=shared \
--enable-cgi=shared \
--enable-cgid=shared \
--enable-dav=shared \
--enable-dav-fs=shared \
--enable-dir=shared \
--enable-env=shared \
--enable-expires=shared \
--enable-file-cache=shared \
--enable-headers=shared \
--enable-include=shared \
--enable-log-config=shared \
--enable-mime=shared \ --disable-auth-anon \
--disable-charset-lite \
--disable-disk-cache \
--disable-mem-cache \
--disable-cache \
--disable-deflate \
--disable-ext-filter \
--disable-case-filter \
--disable-case-filter-in \
--disable-example \
--disable-proxy \
--disable-proxy-connect \
--disable-proxy-ftp \
--disable-proxy-http \
--disable-status \
--disable-asis \
--disable-info \
--disable-imap \
--disable-userdir \
--with-z \
--enable-so \
--with-ssl=/usr/include/openssl \
--with-suexec
--enable-mime-magic=shared \
--enable-negotiation=shared \
--enable-rewrite=shared \
--enable-setenvif=shared \
--enable-speling=shared \
--enable-ssl=shared \
--enable-unique-id=shared \
--enable-usertrack=shared \
--enable-vhost-alias=shared \
--enable-suexec=shared \
--with-suexec-caller=httpd \
--with-suexec-docroot=/home \
--with-suexec-logfile=/var/httpd/logs/suexec_log  \
--with-suexec-bin=/usr/sbin/suexec \
--with-suexec-uidmin=500 --with-suexec-gidmin=500 \"


Regards,
--John





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org