how to add a new glibc symbol ?
Net Llama!
netllama
Mon May 17 11:56:24 PDT 2004
On Wed, 3 Dec 2003, Roger Oberholtzer wrote:
> 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.
Yes, I'm very interested in this. I think i ran across an LD_PRELOAD
variable, but didn't quite understand the gist of it. One problem though,
is that I have ctype_b.c, so how would I turn that into a shared library
(so) for use with the LD_PRELOAD var?
thanks!
>
> 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
> >
>
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
More information about the Linux-users
mailing list