You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/03/28 07:57:48 UTC

DO NOT REPLY [Bug 18449] New: - symbol __divdi3: referenced symbol not found

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18449>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18449

symbol __divdi3: referenced symbol not found

           Summary: symbol __divdi3: referenced symbol not found
           Product: Tomcat 4
           Version: 4.1.24
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Connector:Coyote JK 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: albanard@hotmail.com


Please Help!

I've been trying to get jk2 working for 2 weeks and am almost there!

I'm running Solaris intel 9 with gcc 3.2.2 and apache 2.0.44. There is no binary
available for this platform so I had to compile my apache module for jk2. I
successfully compiled without any errors. Now when I start tomcat I get this
error message

ld.so.1: /usr/java/bin/java: fatal: relocation error: file
/usr/local/apache_server/lib/libapr-0.so.0: symbol __divdi3: referenced symbol
not found

and the connection between apache and tomcat doesn't seem to work.

after some searching I discovered that this symbol is apparently in
/usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/libgcc.a

I've read that this should be statically linked automatically when compiling
with gcc. I've also read that a similar problem with a web_app module was worked
around by adding:

ld -G -lm -lsocket -lnsl -ldl -lsendfile -o mod_webapp.so mod_webapp.o \
 /home/hkchan/apache/webapp-module-1.0.1-tc401/lib/libwebapp.a \
 /home/hkchan/apache/webapp-module-1.0.1-tc401/lib/libapr.a \
 /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.0.2/libgcc.a

I'm not a c programmer and have absolutely no idea where I could add stuff like
this. I just type ant and let it do its magic.

If anyone has any idea how to work around this problem could they please respond
to this bug report. You'd make a person very happy!

Regards

Al

output from catalina.out

Mar 28, 2003 4:36:12 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Mar 28, 2003 4:36:12 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Mar 28, 2003 4:36:13 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Mar 28, 2003 4:36:14 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
Mar 28, 2003 4:36:15 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
ld.so.1: /usr/java/bin/java: fatal: relocation error: file
/usr/local/apache_server/lib/libapr-0.so.0: symbol __divdi3: referenced symbol
not found

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org