I'm receiving "libstdc" compatibility errors when trying to install VNC Server on a 64-bit computer

If you're installing VNC Server onto a 64-bit CentOS 5 (or similar) machine, you may receive compatibility errors relating to the libstdc libraries present on the computer.

For CentOS 5 in particular, you will need to install the "compat-libstdc++-33" package (the final number may vary)

You can easily install this as follows:
  1. Applications -> Add/Remove Software.
  2. Click on the Search tab, and search for "libstdc" (don't type in any '+' symbols).
  3. Select and install the "compat-libstdc++..." package. If there is more than one, choose the highest version number, or try them one-by-one.
For Ubuntu, you will need to manually install the older libstdc++5 package.

Note: You will need the i386 package if you use Ubuntu_i386, and you will need both i386 & amd64 packages if you use the Ubuntu_amd64 as there are i386 applications run under the amd64 architecture!

For Ubuntu 9.10 i386

Download the i386 Jaunty libstdc++5 package here and simply install it by double clicking on it, or through the command line you can run this:

  sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb

For Ubuntu 9.10 amd64

We need to download both the i386 & amd64 packages:

The amd64 package:
As simple as we did for Ubuntu_i386. Download the amd64 Jaunty libstdc++5 package here and simply install it by double clicking on it, or through the command line you can run this:

sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_amd64.deb

The i386 package:

Download the i386 Jaunty libstdc++5 package here.

Now, you need to extract the libstdc++5 library yourself as this deb package is an i386 one. If you try to double click on it or install from the command line it will give you an error message “Wrong architecture ‘i386′”.

The way to solve this is to extract the libraries yourself and place them in the correct directory. Starting from the directory where the package has been downloaded to, run the following:

sudo dpkg-deb -x libstdc++5_3.3.6-17ubuntu1_i386.deb ./tmp
sudo cp ./tmp/usr/lib/* /usr/lib32/



Related Articles

No related articles were found.

Attachments

No attachments were found.

Visitor Comments

Article Details

Last Updated
13th of December, 2011

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions



How would you rate this answer?




Thank you for rating this answer.

Continue

© RealVNC Limited