logoalt Hacker News

ok123456last Tuesday at 7:28 PM1 replyview on HN

Versioned glibc symbols are part of the reason that binaries aren't portable across Linux distributions and time.


Replies

ben-schaaflast Tuesday at 8:56 PM

Only because people aren't putting in the effort to build their binaries properly. You need to link against the oldest glibc version that has all the symbols you need, and then your binary will actually work everywhere(*).

* Except for non-glibc distributions of course.

show 5 replies