Either you can use the software manager to locate and install the needed package (search for libg2c.so), or you can download the needed packages manually:
- Download the package libf2c-3.4.6-11.i386.rpm from http://rpm.pbone.net/index.php3/stat/4/idpl/8964536/com/libf2c-3.4.6-11.i386.rpm.html (or a later version). Note that you need the 32-bit library, even on a 64-bit platform, since VNL is a 32-bit application.
- Install the package with the following command (as root):
rpm --install libf2c-3.4.6-11.i386.rpm
Install the GNU Fortran Compiler Runtime Library (containing libg2c.so) to fix the issue.
The library is not located on the installation CDs, so instead use http://rpm.pbone.net to locate a 32-bit version of the library.
- Download the library from
ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/algraf/openSUSE_10.3/i586/libg2c33-3.3.3-42.5.i586.rpm (or a later version). Note that you need the 32-bit library, even on a 64-bit platform, since VNL is a 32-bit application. - Install it with the command (as root):
rpm --install libg2c33-3.3.3-42.5.i586.rpm
Sometimes, after installing the library, you need to link VNL to it:
Go to the VNL lib directory and give the command
ln -s /usr/lib/libg2c.so.0.0.0 libg2c.so.0
(or the appropriate location of the lib2c.so.* files).
Missing libg2c.so.0 can be fixed by installing libg2c0 from the Synaptic Package Manager or
sudo apt-get install libg2c0