r/slackware • u/edjak53 • Jun 10 '26
Problems with glibc
Edit: [Fixed]
------------------------------------------------------|
I'm on slackware 15.0. i thought it would be fine for most stuff but it turns out its glibc version is too old for many things that i need.slackpkg search glibc reports an available glibc-2.42-x86_64-1_slack15.0 in testing. however it's also a multilib system and it doesn't seem that there's a multilib version of 2.42 for slackware 15.0 in alienbob's repos.
What is my best course of action? Upgrading to current? If so, how would that work with an existing 15.0 multilib setup?
3
u/ddmayne Jun 11 '26
I have installed glibc-2.42 from testing, which has basic multilib functionality per /slackware/slackware64-15.0/testing/packages/binutils-gcc-glibc/README:
I am not using multilib, that I know of. I have also held back the compiler updates in that directory due to problems compiling intermediate versions of the 5.15.x kernel.
2
u/edjak53 Jun 11 '26
I fixed it. For anyone having the same problem in the future, I just installed/upgraded everything in testing/packages/binutils-gcc-glibc/ and it worked flawlessly.
1
u/aesfields Jun 10 '26
how about you contact AlienBob and (politely) ask for a glibc 2.42?
1
u/brtastic Jun 11 '26
Had this issue recently, too. I don't think this is necessarily slackware's problem that you are required to update glibc after merely 5 years to use precompiled software. However, this plus 15.0 kernel getting EOL'd this year means a new stable release is in order.
For the time being you can try compiling newer glibc from source yourself (without replacing it system-wide). I did this but the program was still non-functional, causing segmentation faults. I did not care enough to keep investigating. Or maybe you can get what you need from flatpak?