Hi,
For questions relating to a specific package (if it is in rpm format, I
don't know what the Uuntu installation software uses as packages), you
can use the rpm search web site http://rpm.pbone.net/ (in addition to
http://www.rpmfind.net/ , can't search in rpmfind.net at the moment, it
says there are too many connections); rpm.pbone.net lists rpm files that
contain libg2c, but none for Ubuntu (perhaps Ubuntu does not use rpm
files); there is a package search utility on the Ubuntu site, but no
package is found containing libg2c.
I would try the following: download a .rpm file for your architecture
(e.g. i386); use rpm2targz to convert the rpm file into a tar.gz file;
examine the content of the tar file and if possible install all files
relevant to libg2c on your system; another possibility would be to
locate the source code for libg2c, download it, compile it and install
(the latter sometimes works for me, sometimes not because it requires
installing several additional libraries - sometimes they seem not to be
available - and sometimes compilation fails because of "errors" found in
the code by the compiler).
Fred.
Edward A. Berry wrote:
> I'm helping set up crystallography programs on a ubuntu system, and we're
> stuck because one program (scalepack) needs the library libg2c.so.0 .
>
> I understand this is absent from modern distributions because gcc
> discontinued
> support for g77 and f2c in recent releases. However on fedora there are
> compatibility packages like compat-libf2c which allow running old
> executables
> compiled with g77. Is something like this available for ubuntu? Or is
> there
> some other trick to get scalepack running?
> I understand ubuntu is used by many crystallographers, and while I'm sure
> most of them use mosflm or XDS, I'm sure someone has tried setting up
> denzo/scalepack.
>
> the system:
> Linux xxxxx 2.6.31-22-generic #65-Ubuntu SMP Thu Sep 16 15:48:58 UTC
> 2010 i686 GNU/Linux
> gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
>
> Thanks,
> eab
>
>
|