I know I'm late to the game, but for anyone who needs a supported version of libg2c.so for running old code then you need to install gcc-3.4. From the following site go to the jaunty link. You then need to install the gcc-3.4-base and the lib32g2c0 runtime library.
https://launchpad.net/ubuntu/+source/gcc-3.4 Stephen On 20 October 2010 16:04, Edward A. Berry <[email protected]> wrote: > On the scalepack download site there are multiple versions of the > latest version. > drwxrwxr-x 20 root presiden 4096 Jun 2 12:27 archive > drwxr-xr-x 4 iwona presiden 4096 Jul 17 2008 ver_098.698s > drwxr-xr-x 2 iwona presiden 4096 Apr 3 2009 ver_098.699SM > drwxr-xr-x 3 iwona presiden 4096 May 23 2009 ver_098.699a > drwxr-xr-x 3 iwona presiden 4096 Oct 1 2009 ver_098.699f > drwxr-xr-x 3 iwona presiden 4096 Mar 31 2010 ver_098.699k2 > drwxr-xr-x 3 iwona presiden 4096 Aug 6 10:33 ver_098.699m > 226 Listing completed. > > Thanks to Wladek Minor for telling me to use the latest version > (and reminding me that 66% of recent structures in the PDB are > solved using HKL), and to Tim Gruene for specifying HKL2000-0.98.699m. > I have verified that this works. > I was using the .699a version which I downloaded this spring. > Also thanks to others for general advice on getting packages > that apt-get may not know about, and to Petr Leiman for providing > a tarball. > eab > > Tim Gruene wrote: > >> Dear Edward, >> >> the latest version of HKL2000 does not require libg2c.so anymore: >> t...@shelx8:/usr/local/bin$ ldd scalepack >> linux-gate.so.1 => (0xf7744000) >> libm.so.6 => /lib32/libm.so.6 (0xf7702000) >> libcrypt.so.1 => /lib32/libcrypt.so.1 (0xf76d0000) >> libc.so.6 => /lib32/libc.so.6 (0xf757e000) >> libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7571000) >> libdl.so.2 => /lib32/libdl.so.2 (0xf756c000) >> /lib/ld-linux.so.2 (0xf7745000) >> This is for HKL2000-0.98.699m which I downloaded end of September. >> >> In case you do need libg2c.so, one resource for finding the package you >> are >> looking for might also be http://packages.debian.org, because the >> packages >> ubuntu uses might have similar names as the Debian ones, but I am not >> totally >> sure about this. >> >> Cheers, Tim >> >> On Wed, Oct 20, 2010 at 12:05:32AM -0400, 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 >>> >> >>
