Red Hat Bugzilla – Bug 114000
How do I fix the __ctype v. __ctype_loc problem?
Last modified: 2016-11-24 10:13:54 EST
Linux doesn't support __ctype, __ctype_toupper and __ctype_tolwer any
longer, and instead __ctype_loc, __ctype_toupper_loc and
__ctype_tolower_loc were created to replace them. I've read through
the bugs concerning this problem, but I haven't found a well-
documented process on what really needs to happen. I'm not looking
for a work around, but rather a patch that I need to apply, the steps
I need to take, etc..
I'm running Redhat 9, and glibc 2.3.2-11.9.
Please let me know which patches I need to apply, where I can get
them (web site and file names), in which order I should do it, and
any other thing I need to do.
Your help is greatly appreciated!!
There is binary compatibility just for shared libraries and binaries.
If you have .a libraries or object files (*.o) built on older distributions
floating around, you need to rebuild them.
Alternatively, you can build them against glibc they have been compiled
with and then move the linked executable or shared library to a
What if I have never had an upgrade. That is, everything was built
on the version of glibc that I have today, which is 2.3.2-11.9?
Somewhere I read that if I upgrade to glibc 2.3.2-5 that it should
work? Somewhere else I read that there might be some patches that I
need to apply?
There is no way that you never had an update and everything is built
locally. Somewhere the new <ctype.h> must have been used and this is
in most cases in some archive. Archives do not have any compatibility
There is nothing we can do. You created the situation for yourself so
you'll have to dig yourself out of it.
I meant to close the bug...