You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Qian <Da...@accrue.com> on 2000/04/10 18:48:42 UTC
Please help: Questions about compiling Apache to support DSO/Can not load mod_jserv.so
Hi, everyone:
I find some information on apache documents on how to compile the apache to
support DSO.
I compiled the apache as following:
./configure --enable-module=most --enable-shared=max
Now, mod_so is compiled into the httpd.core.
I am able to compile the mod_jserv.c.
When I compiled the mod_jserv.c as suggested in the Tomcat users' guide as
following:
apxs -c *.c -o mod_jserv.so
I got mod_jserv.o, not mod_jserv.so as needed.
When I compiled the mod_jserv.c as suggested as following:
apxs -c mod_jserv.c -o mod_jserv.so
I got the mod_jserv.so
I copied the mod_jserv.so in the libexec/ in the apache directory.
When I start the apache server, I got the following error:
Syntax error on line 13 of
/export/bird/bkt0/etel/tomcat/jakarta-tomcat/conf/tomcat.conf:
Cannot load /export/bird/bkt0/etel/apache/libexec/mod_jserv.so into server:
ld.so.1: ./httpd: fatal: relocation error: file
/export/bird/bkt0/etel/apache/libexec/mod_jserv.so: symbol jserv_error:
referenced symbol not found
The libexec directory did httpd.exp and libproxy.so, did not have
libhttpd.so and libhttpd.ep.
Any thing I am missing here. Any help will be greatly appreciately.
Thanks !
David