An idea: isolate libs [was: Pure LFS]

Ryan.Oliver at Ryan.Oliver at
Thu Feb 6 06:52:22 PST 2003

Miguel Bazdresch wrote:
> I don't yet fully understand everything that is involved in
> what you're trying to do here, but while digesting it in my mind
> I had an idea.
> It seems like we're trying to prevent, at all costs, from linking to the
> host's libraries. So, why don't we make those libraries unreachable
> before compilation? The easiest way is just to rename them. For example,
> if there is a risk of something linking to a library in directory
> /path/to/lib, first do a
> mv /path/to/lib /path/to/lib_

The one problem you will find there is the host system's binaries need
libraries and expect to find them there. I suppose you could move them out
the way but you'd have to set LD_LIBRARY_PATH which would defeat the


Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list