On Wed, Nov 28, 2001 at 01:26:41PM -0500, Matt Goyer wrote:
> Tricky beast it is!
> 
> I installed gcc 3.0.1 using the sunfreeware package and it looks like
> it's sticking the lib files in 
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1 so:
> 
> To configure Apache I'm doing:
> 
> LDFLAGS=-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1 \
> ./configure --enable-module=rewrite --enable-shared=rewrite

You could try:

LIBS="-Lgcc" \
LDFLAGS=-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1 \
./configure --enable-module=rewrite --enable-shared=rewrite

You need to force httpd to bring in libgcc (but Solaris's ld may
be stubborn about bringing it in if it isn't used).  

You may also have better luck if you get mod_webapp to compile 
statically.  The problem here is that the run-time link path on 
httpd is different than the link path that mod_webapp requires.
By compiling it statically, that problem goes away.

httpd-2.0 handles this much better since it'd bring in 
libgcc.  =)  -- justin


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

Reply via email to