[SOLVED] UT2004 on -current: libstdc++.so.5 is missing
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does it work if you symlink /usr/lib/libstdc++.so.6.0.21 to /usr/lib/libstdc++.so.5?
If that doesn't work, as a last resort, you could just grab the libstdc++.so.5.0.7 out of the cxxlibs-6.0.18-x86_64-1.txz Slackware64-14.1 package and put it in /usr/lib64/.
Does it work if you symlink /usr/lib/libstdc++.so.6.0.21 to /usr/lib/libstdc++.so.5?
Nope, that results in
Code:
./ut2004-bin-linux-amd64: /usr/lib64/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ./ut2004-bin-linux-amd64)
./ut2004-bin-linux-amd64: /usr/lib64/libstdc++.so.5: version `CXXABI_1.2' not found (required by ./ut2004-bin-linux-amd64)
Quote:
Originally Posted by bassmadrigal
just grab the libstdc++.so.5.0.7
That worked, I can run the game again. I'm just wondering if it will forever using this solution.
I ran into this for another game, I solved it by taking the 14.1 32-bit cxxlibs package, using explodepkg, removing everything except the lib I did need including the symlinks in doinst.sh, using makepkg on it to make a new package and then finally convertpkg-compat32 to make a multilib package for it.
Fri Dec 18 05:28:25 UTC 2015
a/aaa_elflibs-14.2-x86_64-9.txz: Rebuilt.
Added libstdc++.so.5.0.7. Thanks to schmatzler.
So I will mark this as solved now.
That was nice of Pat to accommodate you, although to be honest, I was perfectly fine to run a version of cxxlibs from an old version of Slackware if it meant that I could get my game on. I love that old game.
I was going to suggest putting the older libsdtc++ file in the game directory (and possibly setting LD_LIBRARY_PATH if that doesn't work), but this works even better.
Nice! How many other distros out there still support/include libstdc++.so.5 as part of a default install? Yay for being a distro that somewhat cares about backward compatibility!
Must be lots of old guys on Slackware judging from the build scripts on SBo:
Descent 1 and 2
Open Arena (Quake 3)
Unreal Tournament 2004
Rise of the Triad
And I see some support for shareware Heretic and Doom. I support the Descent 1 & 2 versions and I have great memories of playing all of these games way back when
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.