This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: LD_PRELOAD


   Date: Fri, 21 May 1999 03:08:45 -0400 (EDT)
   From: Andrew Pimlott <pimlott@MATH.HARVARD.EDU>

   On Fri, 21 May 1999, Geoff Keating wrote:

   > Such techniques (overriding routines in the libc) have always been
   > implementation-dependent.  You will probably need to do various
   > special things to make it work with glibc 2.1, if this is possible at
   > all.

   Nonsense.  I have an LD_PRELOAD'ed library I use every day that's source 
   and binary compatible between glibc 2.0 and 2.1, and source compatible 
   between linux and solaris.

Then you are very lucky.  Overloading functions with an LD_PRELOAD'ed
library is a very tricky business, and binary compatibility is not
guaranteed.

Mark

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]