Page 1 of 1

Newer Glibc

PostPosted: Tue May 03, 2005 8:43 pm
by Grurf
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

PostPosted: Thu May 05, 2005 11:58 am
by makslane
I will look this

PostPosted: Sat May 07, 2005 9:12 am
by Grurf
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.