This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
gcj configure --disable-shared
- From: "Erik Poupaert" <erik dot poupaert at chello dot be>
- To: <java at gcc dot gnu dot org>
- Date: Sat, 19 Apr 2003 20:43:55 +0200
- Subject: gcj configure --disable-shared
I've configured gcj 3.3 20030414 (prerelease) on linux RH9.0 with the
option --disable-shared. When I execute a compiled executable, I get the
error message:
"error while loading shared libraries: libgcj.so.4: cannot open shared
object file: No such file or directory"
ldd of the executables says:
" not a dynamic executable"
According to the executable's size (259 KB), it does not contain libgcj.a.
Do I need to invoke gcj differently to make sure it includes libgcj.a? What
comes out now, simply cannot be executed.