[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: binary-or-shlib-defines-rpath



On Mon, Feb 11, 2002 at 07:01:09PM +0100, Kjetil Torgrim Homme wrote:
> David Z Maze <dmaze@debian.org> writes:
> > Yes, it should.  In this case, imagine GNU libc 3 comes out, Debian
> > decides to migrate to it, and libraries linked against glibc 2 are
> > moved to /usr/i386-glibc2-linux/lib or what not.
> 
> Aha, I didn't realize there was that kind of black magic in ld.so
> (documented in ldconfig).  Well, then I'd venture that ld.so is
> imperfect.  If it knows to ignore certain paths in ld.so.conf, it

When does it ignore paths in ld.so.conf?

If your binary contains a hard path to /lib/libc.so.6, and then we
move that library to /usr/i386-glibc2-linux/lib instead because
libc.so.7 is available, your binary will no longer work.


Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>



Reply to: