SOLVED! Re: how to add a new glibc symbol ?

Net Llama! netllama
Mon May 17 11:56:29 PDT 2004


On 12/03/03 18:05, Net Llama! wrote:

> On 12/03/03 02:27, Roger Oberholtzer wrote:
> 
>> On Wed, 3 Dec 2003 09:19:48 +0100
>> Roger Oberholtzer <roger at opq.se> 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.
>>
>>
>>
>> Oddly, my memory was right. Here is a simple intro:
>>
>>     http://www.uberhip.com/people/godber/interception/html/slide_5.html
>>
> 
> OK, i tried this, but either i'm not understanding it, or its not working.

I ended up subscribing to the rpm mailing list, and got some excellent 
advice from a guy by the name of Jeff Johnson, who is apparently one of 
the lead rpm developers at Redhat.

Seems that the ctype stuff that was blowing up for me when trying to 
build rpm-4.0.3 was actually a problem with bzip2.  Once I rebuilt bzip2 
against the new glibc-2.3.2, i had no more problems building rpm-4.0.3.

But I still really needed rpm-3.0.6.  When trying to build it, it kept 
blowing up with "popt.c:596: `FLT_MAX' undeclared" errors.  Seems that 
this is just a small if/else test for min/max values of a float, and 
commenting out the test lets the rest of the build process complete 
successfully.

So i'm now back in business with a new rpm-3.0.6.

Thanks to all that gave me suggestions.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   7:05pm  up  2:16,  1 user,  load average: 0.16, 0.48, 0.30


More information about the Linux-users mailing list