libg2c & GAMIT
Tim Prince
TimothyPrince@sbcglobal.net
Thu May 22 12:12:00 GMT 2008
Dr. -Ing. Elias Lewi wrote:
> Dear Tim,
>
> I have seen your communication with Morgen concerning the problem of finding the librarry libg2c.so.0. I am having also a similar problem.
>
> I am running the program GAMIT in Linux Fedora 8 system. I am not good at Linux, though I have used it for a while. The problem I faced is when I am trying to run the program makexp which is part of the GAMIT package it gives me an error message mentioning that it couldn't find the library libg2c.so.0. I have tried to search for the library but I was not able to find it in my computer. Instead there is libf2c.so.0. I tried also the solution of Morgen but it didn't work for I haven't the library at all. Do you have any suggestion?
>
> Elias
>
I don't remember the context to which you refer. I note that the package
you apparently refer was updated as recently as a year ago. Their FAQ
states clearly that either libf2c or libg2c can be used, but not a stock
version of either. It's mighty strange, and, to me, unacceptable for
academic software, that they would not support a compiler which was
current at the time (gfortran or some other). You would still be better
off discarding objects which depend on libg2c and rebuilding all Fortran
sources with gfortran, if those sources are available. If their Fortran
usage is not standard enough to work with gfortran, or if they make direct
calls from C to a library which is not intended for such use, that too
seems unacceptable. More so, as I am a graduate of one of the
institutions named.
More information about the Fortran
mailing list