>> Add -R/path/to/gcc-3.0/lib to your LDFLAGS.

Where exactly? (axps, tomcat, or apache?)

Thanks,
Matt

-----Original Message-----
From: Justin Erenkrantz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 2:11 PM
To: Tomcat Developers List
Subject: Re: Building mod_webapp on Solaris 8


On Tue, Nov 13, 2001 at 01:55:51PM -0500, Matt Goyer wrote:
> I'm also having the same problem with libgcc when I try and build and
> compile my own mod_jk.
>
> Any pointers on where libgcc should be so that Apache/mod_xx finds it
would
> be appreciated.

Add -R/path/to/gcc-3.0/lib to your LDFLAGS.

> And this is the error I get when trying the pre-compiled mod_webapp for
> Solaris 8:
> Syntax error on line 206 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/mod_webapp.so into server: ld.so.1:
> /usr/local/apache/bin/httpd: fatal: relocation error: file
> /usr/local/apache/libexec/mod_webapp.so: symbol __lshrdi3: referenced
symbol
> not found

This is a known bug when mixing the Forte (Sun) compiler with GCC.
You must compile Apache and mod_webapp with the same compiler.  JF
just checked in a patch to j-t-c that will detect this when building
from source.  -- justin


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