| ▲ | AshamedCaptain 4 hours ago | |||||||||||||||||||||||||||||||||||||||||||
What I find amazing is why people continously claim glibc is the problem here. I have a commercial software binary from 1996 that _still works_ to this day. It even links with X11, and works under Xwayland. The trick? It's not statically linked, but dynamically linked. And it doesn't like with anything other than glibc, X11 ... and bdb. At this point I think people just do not know how binary compatibility works at all. Or they refer to a different problem that I am not familiar with. | ||||||||||||||||||||||||||||||||||||||||||||
| ▲ | markus92 4 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||||||||
We (small HPC system) just upgraded our OS from RHEL 7 to RHEL 9. Most user apps are dynamically linked, too. You don't want to believe how many old binaries broke. Lot of ABI upgrades like libpng, ncurses, heck even stuff like readline and libtiff all changed just enough for linker errors to occur. Ironically all the statically compiled stuff was fine. Some small things like you mention only linking to glibc and X11 was fine too. Funnily enough grabbing some old .so files from the RHEL 7 install and dumping them into LD_LIBRARY_PATH also worked better than expected. But yeah, now that I'm writing this out, glibc was never the problem in terms of forwards compatibility. Now running stuff compiled on modern Ubuntu or RHEL 10 on the older OS, now that's a whole different story... | ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
| ▲ | marcosdumay 3 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||
The problem of modern libc (newer than ~2004, I have no idea what that 1996 one is doing) isn't that old software stops working. It's that you can't compile software on your up to date desktop and have it run on your "security updates only" server. Or your clients "couple of years out of date" computers. And that doesn't require using newer functionality. | ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
| ▲ | tonymet 28 minutes ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||||||||
can you write up a blog of how this is working? because both as a publisher and a user, broken binaries are much more the norm | ||||||||||||||||||||||||||||||||||||||||||||