Error while loading shared libraries.

qihe@tju.edu.cn qihe@tju.edu.cn
Fri Aug 12 14:12:00 GMT 2005


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




More information about the Gcc-help mailing list