tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikola Milutinovic" <Nikola.Milutino...@ev.co.yu>
Subject Re: Multiple definitions of symbol _main
Date Tue, 22 Jan 2002 07:28:39 GMT
> I am trying to configure Tomcat 3.3a to work with Apache 1.3.14 on Mac 
> OS X.  I have been successfully using Resin as a servlet container but, 
> when I try to use JServ, as soon as apache hits the line LoadModule  
> jserv_module /p/server/apache_1.3.14/libexec/mod_jserv.so in the 
> httpd.conf file I get the following error:
> 
> dyld: /p/server/apache_1.3.14/sbin/httpd multiple definitions of symbol 
> _main
> /p/server/apache_1.3.14/sbin/httpd definition of _main
> /p/server/apache_1.3.14/libexec/mod_jserv.so definition of _main
> sbin/apachectl start: httpd could not be started

This looks like you've compiled mod_jserv as a standalone executable, instead of dynamic shared
library module. It's linker error, coming from something bad in Makefile, I guess. It shouldn't
have happened.

Nix.
Mime
View raw message