>From my distro of GCC (both on Sol8 x86 AND sparc), libgcc is already
>included as a .so in /usr/local/lib... Just make sure you export the
correct
>LD_LIBRARY_PATH by doing:

Where did you get your distro?

-----Original Message-----
From: Pier Fumagalli [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 8:11 PM
To: Tomcat Users List
Subject: Re: mod_webapp/apache & solaris 8 compile problems


Steve Brunton at [EMAIL PROTECTED] wrote:

> 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).

I like this guy :) :) :) Sol8/intel ROCKS!

> 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.

>From my distro of GCC (both on Sol8 x86 AND sparc), libgcc is already
included as a .so in /usr/local/lib... Just make sure you export the correct
LD_LIBRARY_PATH by doing:

# LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
# export LD_LIBRARY_PATH
# apachectl configtest
Syntax OK
# apachectl start

And it goes (for me! :)

    Pier


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to