how to add a new glibc symbol ?

Kurt Wall kwall
Mon May 17 11:56:22 PDT 2004


Consuming 0.7K bytes, Lonni J Friedman blathered:
> I've painted myself into a corner, and figured out that the reason why I 
> can't build rpm again is because the __ctype_b symbol was removed from 
> the glibc __ctype_b_loc function in glibc-2.3.2.  If that makes sense to 
> you, then keep reading.
> 
> I found some more details here:
> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=86465
> 
> So basically, this is way out of my league, and i'm barely comprehending 
> it, or whether this is a solution to my current situation.  Is anyone 
> able to understand this well enough to offer any suggestions?

__ctype_b was a symbol used in glibc's locale handling function,
__ctype_b_loc(). However, the symbol has been removed. Comment #18
in the bugzilla report suggests a workaround: create a file named
ctype_b.c that has the contents listed, somehow add it to your
project, and rebuild the project. By adding this file, it will
cause __ctype_b to be found, presumably fixing the build failure
you are experiencing. However, without replicating your situation,
I can't even begin to suggest where in the build process (Makefile)
to add it.

Kurt
-- 
God is a comic playing to an audience that's afraid to laugh.


More information about the Linux-users mailing list