tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cracauer, David D." <dcraca...@vue.com>
Subject RE: mod_webapp/apache & solaris 8 compile problems
Date Tue, 30 Oct 2001 16:55:59 GMT
>I had to pull apart the libgcc.a and put it back together in a libgcc.so
and 
>drop it in /usr/lib in order to get the Apache HTTPD process to even 
>want to start with an attempt to load the mod_webapp.so.

That doesnt sound like fun :) 
I appreciate the help, but I don't think this is gonna fly here. I need to
find a way to get it to compile and run.

Would it be smart to try to compile with a sun or other compiler?

Thanks,
Dave

-----Original Message-----
From: Steve Brunton [mailto:brunton@dweeb.turner.com]
Sent: Tuesday, October 30, 2001 10:21 AM
To: Tomcat Users List
Subject: Re: mod_webapp/apache & solaris 8 compile problems


Cracauer, David D. wrote:

> I have a sun blade 100 running Solaris 8 that I am using to show that it
is
> possible to run our web apps on unix.  I have everything working under
> tomcat, but I want to show how well it will perform under apache/tomcat.
> This is the factory install that I have added gcc tools to.  When I try to
> use the pre-compiled mod_webapp with the pre-compiled httpd that came on
the
> box I get this:
> 
> Cannot load /usr/apache/libexec/mod_webapp.so into server: ld.so.1:
> /usr/apache/
> bin/httpd: fatal: relocation error: file
/usr/apache/libexec/mod_webapp.so:
> symbol __lshrdi3: referenced symbol not found
> 
> When I try to start the httpd binary that I built i get this:
> 
> Cannot load /www/libexec/mod_env.so into server: ld.so.1: /www/bin/httpd:
> fatal:
>  relocation error: file /www/libexec/mod_env.so: symbol ap_palloc:
> referenced symbol not found
> 
> I'm no genius, but these seem related.  I am more familiar with linux than
I
> am with solaris, but they don't trust linux here yet.....
> 
> 
>


   I had the same problem on Solaris 8 x86 (no flames on "well, just use 
Linux then, since it's Intel" there are performance reasons). It's a 
problem with the .so being built with GCC and the runtime not finding a 
libgcc.so to dynamically load some of the junk it's looking for. I had 
to pull apart the libgcc.a and put it back together in a libgcc.so and 
drop it in /usr/lib in order to get the Apache HTTPD process to even 
want to start with an attempt to load the mod_webapp.so. After that the 
httpd process would start, but it never actually registered the WebApp 
module being loaded, so I just backed down to mod_jk.
   This is with Apache 1.3.22, Tomcat 4.0.1 and the latest connectors 
out of CVS.

--
Steve Brunton   <brunton@dweeb.turner.com>  Phone: 404-827-2756
Chief Engineer Enterprise Systems    One CNN Center, Atlanta GA
CNN Internet Technologies          ICBM: 84W 23' 45" 33N 45' 29"
<*> They who drink beer will think beer. <*>




--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message