
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] Undefined symbols in shared libraries
- Date: Sun, 3 Nov 2002 14:40:28 +0900
- From: "A. Sajjad Zaidi" <sajjad@example.com>
- Subject: [tlug] Undefined symbols in shared libraries
- User-agent: Mutt/1.4i
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Im trying to load a shared library from a java servlet, but get the
following error:
java.lang.UnsatisfiedLinkError: /xxxx/xxxx.so: /xxxx/xxxx.so: undefined symbol: XXXX
The problem isnt with Tomcat since the whole setup works on another
machine with much older system libraries, but the same version of
Tomcat.
When compiling the libraries, I dont get any errors. Shouldn't gcc fail
if something is missing? These are the flags Im using to build the
library:
gcc -Wall -I/usr/local/jdk1.3.1/include -I/usr/local/jdk1.3.1/include/linux -c *.c
and then
gcc -shared -o xxxx.so *.o
- --
A. Sajjad Zaidi
gpg --keyserver pgp.mit.edu --recv-keys 267E0D0E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9xLbLt1KjqyZ+DQ4RAqClAKCvM8+w4okkNGnajtve6al7i06ZowCfdsAu
iKugQ+2ibIk68+oK/9gLmtA=
=cUw9
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index