Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What needs to be recompiled when upgrading from glibc 2.0 to glibc 2.1?

0
Posted

What needs to be recompiled when upgrading from glibc 2.0 to glibc 2.1?

0

{AJ,CG} If you just upgrade the glibc from 2.0.x (x <= 7) to 2.1, binaries that have been linked against glibc 2.0 will continue to work. If you compile your own binaries against glibc 2.1, you also need to recompile some other libraries. The problem is that libio had to be changed and therefore libraries that are based or depend on the libio of glibc, e.g. ncurses, slang and most C++ libraries, need to be recompiled. If you experience strange segmentation faults in your programs linked against glibc 2.1, you might need to recompile your libraries. Another problem is that older binaries that were linked statically against glibc 2.0 will reference the older nss modules (libnss_files.so.1 instead of libnss_files.so.2), so don't remove them. Also, the old glibc-2.0 compiled static libraries (libfoo.a) which happen to depend on the older libio behavior will be broken by the glibc 2.1 upgrade. We plan to produce a compatibility library that people will be able to link in if they want to com

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.