[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] forcing glibc selection?
- Subject: [ale] forcing glibc selection?
- From: hirsch at mathcs.emory.edu (Michael Hirsch)
- Date: 30 Aug 1999 09:25:45 -0400
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