tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <qm...@brandxdev.net>
Subject Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found
Date Thu, 02 Sep 2004 22:38:46 GMT
On Thu, Sep 02, 2004 at 06:25:53PM -0400, Jonathan Rengifo wrote:
: 1-Sep-2004 1:46:26 PM org.apache.jk.common.ChannelSocket init
: INFO: JK2: ajp13 listening on /0.0.0.0:8009
: ld.so.1: /usr/java/bin/java: fatal: relocation error: file
: /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3:
: referenced symbol not found

The error means that the specified symbol -- loosely put, a C/C++
variable or function -- wasn't available within the currently executing
program's binary, nor any of the shared libs it loaded.

Tracking down missing symbols can be a pain, especially if you didn't
compile everything yourself from source.

It could be as simple as a missing dir in LD_LIBRARY_PATH (especially
since the Tomcat user's environment may not the same as the build-user's
environment), or something as nasty as subtle linking problem.

Run "ldd" on mod_jk2.so to see what libs it needs, then run "nm" on
those libraries to see which one defines "__divdi3."

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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


Mime
View raw message