This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Error while loading shared libraries.
- From: "" <qihe at tju dot edu dot cn>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 12 Aug 2005 21:48:45 +0800
- Subject: Error while loading shared libraries.
- Reply-to: "" <qihe at tju dot edu dot cn>
Sir:
I compiled a helloworld program using gcj like this:
gcj -o hello hello.class --main=hello
The compiling succeeded and no warning and error generated.But it went wrong
when I run the executable, the error it presented is:
$ ./hello
./hello: error while loading shared libraries: libgcj.so.6: cannot open
shared object file: No such file or directory
Would you please tell me what is wrong with it? Thank you!
Yours sincerely
QiHe
2005.8.12