wiki:MissingLib

Version 2 (modified by toby, 12 years ago) (diff)

--

Error: libg2c.so.0 (etc.) is not found

If you get a message that libg2c.so.0 (or some other library) is not found, then you will need to load additional packages with the missing libraries. The exact ones to load probably depends on what compiler we have used to build the GSAS programs (g77 right now, but likely changing to gfortran soon -- which may eliminate this problem) and your OS.

(from Tim Holgate with GSAS/EXPGUI v1033) I have Ubuntu 10.04 which doesn't have g77. So I installed these three packages in the order specified and it worked:

  • gcc-3.4-base_3.4.6-1ubuntu2_i386.deb
  • libg2c0_3.4.6-1ubuntu2_i386.deb
  • libg2c0-dev_3.4.6-1ubuntu2_i386.deb

(from Nina Lane with Ubuntu 10.10) Downloaded libg2c0_3.4.6-6ubuntu3_i386.deb from http://packages.ubuntu.com/hardy/libg2c0 and then installed it using sudo dpkg --force-depends -i libg2c0_3.4.6-6ubuntu3_i386.deb