CentOS 4.4, libstdc++ 3.4.6 and NPTL

After my last yum update Apache did not start anymore.

All I got when attemping to start it was:

Cannot load /etc/httpd/modules/libphp4.so into server: libstdc++.so.6:

cannot handle TLS data.

As explained in this centos.org post:

http://lists.centos.org/pipermail/cento … 69496.html">http://lists.centos.org/pipermail/centos/2006-September/069496.html

the reason was the update from libstdc++-3.4.5-2 to libstdc++-3.4.6-3. To restart the server I had to force the removal of the new version and manually reinstall the old one.

According to centos.org there no way out from this problem:

> I don't know much about NPTL/libstdc++. However, what I do know is that

Red Hat made decision to require NPTL very long time ago. If your

system can't run NPTL enabled kernel and glibc (or whatever other

library), it is unsupported and it isn't likely anybody will work on it

to fix it. Even if you were paying Red Hat customer. Things might

work, and than they might mysteriously break one day.

Is this correct? What to do?

Thanks

2 Replies

Are you running a 2.4 kernel? If so, switch to 2.6.16.1-linode18 or later. All 2.4 and earlier 2.6 Linode (UML) kernels don't support NPTL and TLS.

Did you mv /lib/tls /lib/tls-disabled in the past? This was the work around for kernels with no NPTL/TLS support. It breaks things that require TLS, rather than just using it if available.

You were right. The 2.6 kernel works.

I was stuck on 2.4 because of a MySQL problem (now apparently fixed).

Thanks

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct