Newer Glibc

Non-platform specific questions.

Newer Glibc

Postby Grurf » Tue May 03, 2005 8:43 pm

Hi,

I have an LFS (http://www.linuxfromscratch.org) Linux system with a newer version of glibc. The gameEditor executable for linux won't run with that version (./gameEditor: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ./gameEditor) ./gameEditor: /usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by ./gameEditor). These errors were generated after linking libstdc++.so.5 to libstdc++.so.6.0.1)! Could you please compile a version for glibc 2.3.4-20040701 too or do something else to make it compatible? Because I made LFS (for the second time now) I have quite some experience with compiling software, maybe I could try to compile it for you?

Grurf
Grurf
 
Posts: 2
Joined: Tue May 03, 2005 8:35 pm
Score: 0 Give a positive score

Postby makslane » Thu May 05, 2005 11:58 am

I will look this
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Grurf » Sat May 07, 2005 9:12 am

I have found a workaround, but it may be dangerous to your system, so backup your files before using it. Do not use it if you don't know how to install packages on your system. Download this: http://icculus.org/updates/cod/gcc3-libs.tar.bz2 and untar it in one of your lib directories (/lib, /usr/lib, /usr/local/lib). It will supply the right versions of glibc libraries. If you are unlucky (like me) something goes wrong in the linking of the libraries and your X-server wont start anymore. In that, reinstall your gcc (probably version 3.4 if you have a newer distro) and then both libstdc++.so.5 and libstdc++.so.6 linked binaries will work (so X will work again, too).

Edit:

Workaround 2. This one is less dangerous and easier. Just install a gcc 3.3.x version :oops:. If you decide to compile gcc 3.3.x, build it in an other directory than your other version of gcc, or you will lose your other version (for example: I installed mine into /opt/gcc-3.3.4). Then symlink the gcc libraries to one of the lib directories scanned by ldconfig.
Grurf
 
Posts: 2
Joined: Tue May 03, 2005 8:35 pm
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest