Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 91498 invoked from network); 29 Nov 2001 08:02:56 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 29 Nov 2001 08:02:56 -0000 Received: (qmail 12247 invoked by uid 97); 29 Nov 2001 08:02:57 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 12227 invoked by uid 97); 29 Nov 2001 08:02:56 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 12209 invoked from network); 29 Nov 2001 08:02:55 -0000 Sender: jfc@vtxrm2.bcn.fsc.net Message-ID: <3C05EB78.C997F49B@fujitsu-siemens.com> Date: Thu, 29 Nov 2001 09:02:00 +0100 From: jean-frederic clere Reply-To: jfrederic.clere@fujitsu-siemens.com X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en, fr, de MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Mod_webapp & Solaris 8 References: <013801c17827$d8ac1b20$6401a8c0@MattG> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Matt Goyer wrote: > > I've been struggling with this for a week or two now.. > > I'm able to compile mod_webapp on Solaris 8 with GCC 3.0.1 using the > snapshots of mod_webapp and apr from CVS. However I have to modify my > apxs since three values don't get properly set by the apache makefile. > I > So I then try and load my compiled mod_webapp with Apache and get the > following error: > > 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 Argh...! I thought I fixed the mod_webapp to detect this problem before compiling... Could you retry with http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/src/webapp-module-1.0.1-tc401-src.tar.gz The configure should say "Cannot mix gcc and native cc", if not tell me what uname -a tells so I can add it to the check list. The solution is _not_ using gcc with mod_webapp when apache-1.3 was compiled with a native compiler. > > I then pulled apart libgcc.a (as recommend in a post here) and made > libgcc.so and located it in /usr/lib and when I do: > > export LD_PRELOAD=/usr/lib/libgcc.so /usr/local/apache/bin/apachectl > configtest > > I then get: > > 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 ap_table_get: referenced > symbol not found > > What am I missing? > > Can anyone get mod_webapp working on Solaris 8?? If some has.. If you > could post a quick install guide of what you did I'd appreciate that. > > I posted here before and someone talked about setting LD_LIBRARY_PATH > and I tried that too to no avail. > > Matt > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: