how to add a new glibc symbol ?

Roger Oberholtzer roger
Mon May 17 11:56:23 PDT 2004



The Linux program loader will load a DSO (libxx.so) specified in an
environment variable when an application starts. This would allow you to
make a dummy library to provide the missing label. I always thought this was
both a neat and a dangerous feature. I believe it it the very first thing
loaded, so it should be available to libc.

Let me know if you are interested and I will relocate the name of the
environment variable. It was something like LD_PRELOAD=libxyx.so.

On Tue, 2 Dec 2003 19:41:59 -0700
Collins Richey <erichey2 at comcast.net> wrote:

> On Tue, 02 Dec 2003 17:57:03 -0800 Lonni J Friedman
> <lfriedman at vasoftware.com> wrote:
> 
> > 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?
> > 
> 
> Fixing it would definitely be out of our league, but the bug report seems
> fairly easy to understand.  Apparently the later version of glibc with
> ncurses has permanently eliminated the offending function to clean up some
> sort of conflict in the 'locale' domain.  There is a fix in this bugzilla
> for RH8 (inline some functions, including the missing one), and there is
> apparently another bugzilla for RH9 that hasn't been fixed yet.
> 
> glibc probably should have done a better job publishing this 'cleanup,'
> i.e.'screwup' for anyone using the desired function.
> 
> -- 
> Collins Richey - Denver Area
> if you fill your heart with regrets of yesterday and the 
> worries of tomorrow, you have no today to be thankful for.
> 
> 
> _______________________________________________
> Linux-users mailing list
> Linux-users at smtp.linux-sxs.org
> Unsubscribe/Suspend/Etc ->
> http://smtp.linux-sxs.org/mailman/listinfo/linux-users
> 


-- 
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Erik Dahlbergsgatan 41-43  ?    Phone: Int + 46 8   314223 ?
? 115 34 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   302602 ?
+????????????????????????????+???????????????????????????????+



More information about the Linux-users mailing list