How do I find and install the "compat-libstdc++-33" package

Asked by Kelvin Balcombe

I am new to Unix\Linux\Ubuntu, having downloaded and installed the 64 bit desktop version of Ubuntu (7.10) a couple of days ago. I am trying to install a program "Gauss 8.0" on Ubuntu. After installation I type ./tgauss (which should make Guass run) and it says "error while loading shared libraries: Libstdc++.so.5 cannot open shared object file: No such file or directory". I have been told by aptech systems (who market Gauss) that I should look for the "compat-libstdc++-33" package that contains "/usr/lib/libstdc++.so.5" and "/usr/lib/libstdc++.so.5.0.7". Once this package is installed Gauss should run (so I am told). I have no idea where to find this package, and no idea how I would install it once I have it. Any help on either or both these problems would be useful.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Kelvin Balcombe
Solved:
Last query:
Last reply:
Revision history for this message
Kelvin Gardiner (kelvingardiner) said :
#1

Hi,

The /usr/lib/libstdc++.so.5 library is in package libstdc++5. This package is in the Universe repo.

To install is go to System->Synaptic Package Manager

In the package manager go to Setting->Repositories

In the window that appears tick the box next to Community maintained Open source software (Universe )

Close the window and click reload in the main package manager window.

Click search and type libstdc in the search box. The package libstdc++5 should appear in the list.

Click the box next to it and click Mark for installation.

You maybe asked to accept some dependencies.

Click apply in the packaged manager window.

The package should now install.

Revision history for this message
Kelvin Balcombe (k-g-balcombe) said :
#2

Thanks, that was clear. I got to the point of clicking "reload". However, after that when it reads "downloading package information" it stalls (at Downloading 7 of 8), at least it has been sitting at this point for nearly 10 minutes now. How long could this take?

This email is being written on a seperate machine. The machine that now runs Ubuntu was originally connected to the web (when running windows XP). However, I have no idea whether after installation of Ubuntu it can still do so. My suspicion is that it cannot. Is the machine trying to download files from the web?

Revision history for this message
Kelvin Gardiner (kelvingardiner) said :
#3

Yes the Universe repo is on the web. Let's assume that the Ubuntu machine can't connect to the web.

You can go here:

http://packages.ubuntu.com/gutsy/libstdc++5

and download it and all the dependency packages. The link to download is add the bottom, click on the architecture you need.

Then copy them to the computer without internet access.

To install the go to selected all the files you downloaded, right click and select open with package installer.

Revision history for this message
Kelvin Balcombe (k-g-balcombe) said :
#4

Thanks for your patience,

I downloaded the files along with the indicated dependencies, including gcc-3.3-base.
When installing libstdc++5 it says "Error: Dependency is not satisfiable: gcc-3.3-base." However, having installed gcc-3.3-base, it says that "All dependencies are satisfied.". Additional attempts to install libstdc++5 always give the same error messages.

So...what am I missing?

Revision history for this message
Kelvin Balcombe (k-g-balcombe) said :
#5

Sorry, Scrap my last message. I had not actually installed the gcc-3.3.base. It now appears to be working. Thanks for your help.