Undefined reference to ‘atexit’
1. Problem
I usually compile most of my apps and libs from source. Lately I couldn’t
link against stuff such as zlib because linking would fail with the above
message.
2. Research
A quick search on the web pointed out a problem with glibc. I’m no expert
but an upgrade shouldn’t be too complicated as long as I do it by RPM.
3. Solution
A glibc upgrade to 2.2.4 (had 2.2.2 before) and recompilation of the
guilty (such as zlib) packages did the trick. I also started using gcc 3.2,
FYI, but the reports definitely indicated glibc as the culprit.
