Ubuntu – How to install libg2c

software installation

I was trying to run

make 2D -j6 IN=2DPrograms/CD_2D_DirectSolver OUT=OUTPUT/cd.exe

command.
While running this make file, the terminal rendered the following errors:

g++: error: EXT_LIB/g2c/libg2c_LINUX.so.0: No such file or directory

So I tried to install libg2c through the following command which did not work for me.

sudo apt-get install libg2c0

I am running Ubuntu 13.04-32 bit machine. It would great if somebody can help me with this.

Best Answer

This worked for me:

wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/libg2c0_3.4.6-6ubuntu5_i386.deb
sudo dpkg -i --force-all libg2c0_3.4.6-6ubuntu5_i386.deb

I had to get it from an old release as it's no longer distributed with Ubuntu.

Related Question