Bug 114000 - How do I fix the __ctype v. __ctype_loc problem?
Summary: How do I fix the __ctype v. __ctype_loc problem?
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
(Show other bugs)
Version: 9
Hardware: i686 Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2004-01-21 06:26 UTC by RH
Modified: 2016-11-24 15:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-08-26 01:48:35 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description RH 2004-01-21 06:26:57 UTC
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!!

Comment 1 Jakub Jelinek 2004-01-21 16:23:08 UTC
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
newer distribution.

Comment 2 RH 2004-01-21 17:48:48 UTC
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?
Please help!!


Comment 3 Ulrich Drepper 2004-08-26 01:47:50 UTC
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.

Comment 4 Ulrich Drepper 2004-08-26 01:48:35 UTC
I meant to close the bug...

Note You need to log in before you can comment on or make changes to this bug.