Steam games w/ glib issue
Was really surprised to see Steam run on Slackware.
Big thanks to alien for the multilib and Steam slackbuild maintainer! I have an issue though, some of my favourite games like sven co-op and American Truck Simulator refuse to run. Not sure about ATS but sven co-op apparently needs glib 2.24 or higher when slackware comes with glib 2.23 What would you recommend for overcomming this issue? Do i really need to compile glib 2.24 from scratch and then recompile every piece of software for it or there is some other way around? Would appreciate help. P.S. Slackware 14.2 |
Are you using native or proton? https://www.protondb.com/app/270880
|
native
|
I don't know if installing current's 2.30 will break things or not.. 14.2 is pretty dated at this point, and despite its age Valve continues to maintain and upgrade the Gold SRC engine that these original Half-Life based titles run on.
Maybe consider moving to -current? |
Although lately I've been enjoying -Current a lot I have a functioning multilib 14.2 install and have Steam on both. Both instances run better than so-called gaming distro top dogs, PopOS and Manjaro... like 17%+ better with my custom kernel. Although I am really liking Current, before I'd just upgrade (maybe parallel dual boot is a solution) I'd opt into the Steam Beta program and activate Proton. While Proton is essentially just to run Direct X games, it seems there are a number of added libraries that affect Steam in general even on native Linux games. 14.2 is old in some ways but it still runs great, including with more modern Steam..
|
You could try compiling a newer version of glibc (or even maybe just take -current's???) but install in /usr/local or /opt. Then use LD_LIBRARY_PATH so your game picks up libc.so from your custom glibc instead of the system one. I think this will work, even though other system libraries the game may need are linked against an older glibc.
I've used the same "compile random library not provided with Slackware but needed by random program that I don't want installed system-wide" trick to get newer versions of MATLAB to run on 14.2. Of course in that case it wasn't glibc... https://www.linuxquestions.org/quest...ml#post5755902 |
Okay, thanks.
It seems that the only ways to solve this issue is get newer glib or run games with proton. |
Dude! Proton is excellent! and doesn't require anywhere near the work (let alone risk) of upgrading everything to suit glib. I don't know anything about those 2 specific games but if they are as some responder noted, running on Source and akin to Half Life, it's a no-brainer - Get Proton! Everything on Orange Box runs great and numerous mod releases and the new Half Life Beta Update, too. These ALL run on 14.2 here. EzPz.
Incidentally I had to chuckle at your comment of surprise at Steam running on Slackware. If you launch Steam from command line you will see an early "error message" that you need to "update pkg-config" followed by this... Code:
#Steam error comment |
Quote:
|
Isn't there an experimental-use-at-your-own-risk package of a more modern gcc and glibc for 14.2 out there? I seem to recall Alien Bob using it to compile a few things.
|
Quote:
That's just gcc. For glibc I don't recall there being a newer version for 14.2. |
All times are GMT -5. The time now is 11:45 AM. |