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

Jean Bréfort jean.brefort at ac-dijon.fr
Mon Dec 5 09:56:08 EST 2005


Le mardi 06 décembre 2005 à 00:31 +1000, Dr. Seth Olsen a écrit :
> 
> Hi Ghemicalers,
> 
> I have made a new leap in my long frustrated quest to get ghemical to
> work on my new machine (FC4, gcc-4.0.1, w/ openbabel-1.100.2.&
> mopac7).  It has been highly educational.  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.

This type of error is very frustrating and not easy to fix some times.
Try:
ldconfig -p|grep libghemical
to test if the library loader finds it.
Check also the contents of libghemical.la if ldconfig finds the library.

Hope this helps

Best regards,
Jean Bréfort



More information about the ghemical-devel mailing list