[ale] forcing glibc selection?

Michael Hirsch hirsch at mathcs.emory.edu
Mon Aug 30 09:25:45 EDT 1999


dan singhal <death at cc.gatech.edu> writes:

> Hey, I have a program that seems to have been compiled vs glibc2.0, and
> hte fixes in 2.1 make hte program crash hard ... is there any way to make
> that program [not all the others] use glibc2.0 instead?  some kind of
> environment variable, a command to force-link it?  I have root on the
> machine, but I think downgrading glibc would be a negative idea ...
> 
> Anyone know how to do this?  I haven't found anything in the man pages yet

You can put the full pathname of the library you want in the
environment variable LD_PRELOAD.  Then when you run the program that
library is linked in first.  I think that should do what you want.

-- 
--Michael






More information about the Ale mailing list