[ghemical-devel] So close but ... libghemical.so.0: cannot open shared object file: No such file or directory

Michael Banck mbanck at gmx.net
Mon Dec 5 10:02:59 EST 2005


On Tue, Dec 06, 2005 at 12:31:58AM +1000, Dr. Seth Olsen wrote:
> However, when I invoke the executable it fails to start, giving the
> message:
> 
> ghemical: error while loading shared libraries: libghemical.so.0: cannot
> open shared object file: No such file or directory
> 
> Which is odd because libghemical.so, libchemical.so.0 (both of which link to
> *.so.0.0.0) are clearly in /usr/local/lib and /usr/local/lib is also in my
> path.  I have also added /usr/local/lib to LD_LIBRARY_PATH.  No dice.  I
> even uninstalled OB-2.0 in favor of the previous latest version, to make
> sure it wasn't a compatability problem.

Did you run ldconfig as root to regenerate the library cache?  I assume
this would be necessary on Fedora as well.

Otherwise, you could run the ldd program on your ghemical binary, like
'ldd /usr/local/bin/ghemical' to perhaps see a bit better what is
expected, and why it goes wrong.

Or run 'strace ghemical' and work back from the end of the output to
figure out what kind of libghemical files are tried to be opened and
which fail.


hope that helps,

Michael


More information about the ghemical-devel mailing list