LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-17-2015, 02:50 PM   #1
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
UT2004 on -current: libstdc++.so.5 is missing


Hi guys,

I want to play the good old Unreal Tournament 2004 again - it worked fine in the past, but on the latest Slackware64-current it doesn't start anymore:

Code:
./ut2004-bin-linux-amd64: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Digging a little deeper, I found out that the library was provided by the cxxlibs package. But that has been removed earlier this year:

Code:
Sat Apr 25 02:37:47 UTC 2015
a/aaa_elflibs-14.1-x86_64-6.txz:  Rebuilt.
  Added libstdc++.so.6.0.20.
a/cxxlibs-6.0.18-x86_64-1.txz:  Removed.
How can I run the game? Or is it simply too outdated now?
 
Old 12-17-2015, 03:19 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,193

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307
* checks MANIFEST.bz2

Does it work if you symlink /usr/lib/libstdc++.so.6.0.21 to /usr/lib/libstdc++.so.5?

Last edited by dugan; 12-17-2015 at 03:21 PM.
 
Old 12-17-2015, 04:10 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by dugan View Post
* checks MANIFEST.bz2

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/.
 
1 members found this post helpful.
Old 12-17-2015, 04:34 PM   #4
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Original Poster
Rep: Reputation: 181Reputation: 181
Quote:
Originally Posted by dugan View Post
* checks MANIFEST.bz2

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 View Post
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.
 
Old 12-17-2015, 04:55 PM   #5
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
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.
 
Old 12-17-2015, 06:32 PM   #6
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
I just came here to report this same issue. I encountered it with Checkpoint SNX VPN client.

I am also about to do as orbea suggests.

Is there any reason we can't have libstdc++.so.5.0.7 back in aaa_elflibs alongside .6.0.21 as it was when they were in cxxlibs?

Dave
 
1 members found this post helpful.
Old 12-17-2015, 07:46 PM   #7
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by schmatzler View Post
Hi guys,

I want to play the good old Unreal Tournament 2004 again - it worked fine in the past, but on the latest Slackware64-current it doesn't start anymore:

Code:
./ut2004-bin-linux-amd64: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Digging a little deeper, I found out that the library was provided by the cxxlibs package. But that has been removed earlier this year:

Code:
Sat Apr 25 02:37:47 UTC 2015
a/aaa_elflibs-14.1-x86_64-6.txz:  Rebuilt.
  Added libstdc++.so.6.0.20.
a/cxxlibs-6.0.18-x86_64-1.txz:  Removed.
How can I run the game? Or is it simply too outdated now?
No, it is not. I downloaded the cxxlibs from Slackware64-13.37, installed it, and the game works like a charm. (Fellow UT 2004 fan).

Hope this helps.

Regards,

Matt
 
Old 12-18-2015, 03:37 AM   #8
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Original Poster
Rep: Reputation: 181Reputation: 181
Magic happened in the changelog today!

Code:
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.
 
4 members found this post helpful.
Old 12-18-2015, 07:56 AM   #9
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by schmatzler View Post
Magic happened in the changelog today!

Code:
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.
 
Old 12-18-2015, 11:16 AM   #10
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,193

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307
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.
 
Old 12-18-2015, 11:45 AM   #11
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 522

Rep: Reputation: 279Reputation: 279Reputation: 279
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!
 
Old 12-18-2015, 11:46 AM   #12
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Rep: Reputation: 23
not to mean to sidetrack:

how do I install original UT in slackware? I have original cd-rom...
 
Old 12-18-2015, 11:50 AM   #13
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,193

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307
Original CDs? Just use the community Loki installer:

http://www.liflg.org/?catid=6&gameid=51

(Or Wine, of course).

Also, has anyone had a chance to try UT4 yet?

Last edited by dugan; 12-18-2015 at 11:55 AM.
 
Old 12-18-2015, 12:06 PM   #14
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
You could also try ut2004 at SBo.
http://slackbuilds.org/repository/14...?search=ut2004

If you mean the original Unreal Tournament, lutris (Also on SBo) has an installer for it.
http://slackbuilds.org/repository/14...?search=lutris
 
Old 12-18-2015, 05:44 PM   #15
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,364

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
missing libstdc++.so.5 jrodia Gentoo 1 10-14-2009 01:45 AM
libstdc++ problems in current dive Slackware 1 10-12-2006 03:13 PM
Problem with UT2004 and libstdc++ EnigmaX Linux - Software 1 08-19-2005 04:02 AM
missing libstdc++.so.2.8 Avatar Linux - General 7 04-13-2005 07:39 AM
Slackware-Current, Text to Speech, UT2004 dbauder Slackware 1 05-19-2004 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration