Re: Error while loading shared libraries.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

First search your system for libgcj.so.6 file, if there is no, than i
think you do not have libgcj  libraries installed. There is different
ways to install this library on OS, it depends on distribution. For
example on debian it might be "apt-get install libgcj", fedora core
"yum install libgcj" and so on... Try searching your operating system
vendors site for libgcj package...

Arturas M.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux