tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtallen <gtal...@home.com>
Subject [Fwd: Re: Questions about compiling Apache to support DSO/Can not load mod_jserv.so]
Date Tue, 11 Apr 2000 02:08:26 GMT



Might check the entries in your http.conf file and compare to what
gets added by:
apxs -c -i -a  mod_jserv.c

Comment out the mod_jserv LoadModule entries and see if Apache will
start?
The above apxs command should be correct so maybe something about your
Apache
build is wrong.  You should be able to build mod_jserv.so without
building
Apache.
Greg

Weilong Li wrote:
> 
> It seems I have the same problem as you.
> When I typed "apachectl start", I got errors here,
> 
> Syntax error on line 13 of /path/tomcat/jakarta-tomcat/conf/tomcat.conf:
> Cannot load /path/apache/libexec/mod_jserv.so into server: ld.so.1: /path/apache/bin/httpd:
fatal: relocation error: file /path/apache/libexec/mod_jserv.so: symbol jserv_error: referenced
symbol not found
> apachectl start: httpd could not be started
> 
> could someone please help?
> 
> Weilong
> >
> > Hello,
> >
> > Could anyone tell which files or objects have to be linked together ?
> > What are the commands and where should they located ?
> >
> > Thanks !
> >
> > David
> >
> >
> > -----Original Message-----
> > From: gtallen [mailto:gtallen@home.com]
> > Sent: Friday, April 07, 2000 7:52 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Re: Questions about compiling Apache to support DSO/Can not
> > load mod_jserv.so
> >
> >
> > You need to link mod_jserv.o into a shared library,
> > see "man ld" and some of your makefiles for an example
> > specific to your system.
> >
> > David Qian wrote:
> > >
> > > Hi, everyone:
> > >
> > > Thank you very much for you help.
> > >
> > > I find some information on apache documents.
> > >
> > > 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
> > >
> > > -----Original Message-----
> > > From: Steven Maring [mailto:Steven.Maring@trcinc.com]
> > > Sent: Friday, April 07, 2000 3:43 AM
> > > To: 'David Qian '
> > > Subject: RE: Question about Apache connecting to Tomcat !
> > >
> > > If I recall correctly, you should do --enable-rule=SHARED_CORE and
> > > --enable-module=so
> > >
> > > The install docs for JServ1.1 give a great explanation.  You may have to
> > > compile it yourself anyway.
> > >
> > > --Steve Maring
> > >
> > > -----Original Message-----
> > > From: David Qian
> > > To: tomcat-user@jakarta.apache.org
> > > Sent: 4/6/00 8:15 PM
> > > Subject: Question about Apache connecting to Tomcat !
> > >
> > > Hello, everyone:
> > >
> > > I am trying to compile Apache 1.3.12 on on sun machine.
> > >
> > > The machine is as follows:
> > > SunOS bird 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-250
> > >
> > > I used the following command to compile apache to support Dynamic Shared
> > > Object:
> > >
> > > ./configure --prefix=/path/to/apache --enable-rule=SHARED_CORE
> > > make install
> > >
> > > Then When I used the following commands to compile the mod_jserv.c,
> > >
> > > apxs -c .* -o mod_jserv.so
> > >
> > > I got the following error meesgges:
> > >
> > > apxs:Error: Sorry, no DSO support for Apache available
> > > apxs:Error: under your platform. Make sure the Apache
> > > apxs:Error: module mod_so is compiled into your server
> > > apxs:Error: binary `/export/bird/bkt0/etel/apache/bin/httpd'.
> > >
> > > I am struggling this for a couple of days now.
> > >
> > > Any instruction or guideline will be greatly appreciately !
> > >
> > > Thanks !
> > >
> > > David
> > >
> > > --------------------------------------------------------------------------
> > > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >
> > --------------------------------------------------------------------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >
> >
> >
> > --------------------------------------------------------------------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >

Mime
View raw message