|
From: Tom H. <to...@co...> - 2005-08-18 22:14:15
|
In message <1124398531.3856.27.camel@localhost.localdomain>
Rob Holland <ti...@ge...> wrote:
> Tavis pointed out a hack which fixes the problem. I can get a local copy
> of glibc with dlopen("/lib/libc.so.6", RTLD_LOCAL | RTLD_NOW) and use
> those symbols for the pointers instead.
I'd be surprised if that works - that dlopen would normally return a
handle for the existing C library which would meand the symbols have
the same address and would get redirected again.
If it did load a second copy of the C library you would still have a
problem as the two C libraries would have different copies of any
static data the C library uses internally.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|