LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Steam games w/ glib issue (https://www.linuxquestions.org/questions/slackware-14/steam-games-w-glib-issue-4175678577/)

replikvlt 07-12-2020 02:19 AM

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

RadicalDreamer 07-12-2020 02:52 AM

Are you using native or proton? https://www.protondb.com/app/270880

replikvlt 07-12-2020 02:53 AM

native

ReFracture 07-12-2020 03:48 PM

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?

enorbet 07-14-2020 12:45 PM

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..

drumz 07-14-2020 01:57 PM

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

replikvlt 08-15-2020 09:49 AM

Okay, thanks.
It seems that the only ways to solve this issue is get newer glib or run games with proton.

enorbet 08-17-2020 01:55 AM

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
Oh wait! Nevermind!  This is Slackware!


ReFracture 08-17-2020 12:13 PM

Quote:

Originally Posted by enorbet (Post 6156737)
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
Oh wait! Nevermind!  This is Slackware!


I want to say this bit was added a couple years ago. I like the enthusiasm for whoever wrote that line lol.

garpu 08-17-2020 12:49 PM

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.

drumz 08-17-2020 02:54 PM

Quote:

Originally Posted by garpu (Post 6156864)
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.

https://mirrors.slackware.com/slackw...lackware-14.2/

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.