Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
Please edit your post with what you are trying to compile. That lib file is no longer in the repositories and looks to be deprecated as I see no mention of it since Hardy Heron (8.0.4) If there is a .deb package of what you are trying to install, it would be worth trying that. –  douggro May 28 '13 at 6:47

2 Answers 2

After changes in gcc, it's not been there since 8.04.1. gfortran is an alternative that you can look into.

For more details check out this link launchpad bug link

share|improve this 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.

share|improve this answer
    
Also, just to note that I also had to manually remove the package metadata from /var/lib/dpkg/status after installing to clear up the dependency mess that forcing install made, as APT wanted to get rid of it. –  It Wouldn't Happen On Windows Nov 29 '13 at 9:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.