Question about Chapter 6.10. Re-adjusting the Toolchain

Chris Staub chris at
Thu Nov 15 07:23:44 PST 2007

mantiz at wrote:
> Hello everybody,
> I started a new installation of LFS-6.3 and I want to install the base
> lfs-system into the prefix /pkgs/lfs-6.3.
> I don't want to discuss if this makes any sense because for me it
> does. :)
> All tests are OK in chapter 6.10. except this one:
>> grep 'SEARCH.*/lib' dummy.log |sed 's|; |\n|g'
> Here I get the output:
>> SEARCH_DIR("/tools/i686-pc-linux-gnu/lib")
>> SEARCH_DIR("/usr/lib")
>> SEARCH_DIR("/lib");
> I'm missing a line with:
>> SEARCH_DIR("/pkgs/lfs-6.3/lib")
> Where can I tell the system to search in '/pkgs/lfs-6.3/lib', too?
> Thanks for any help. :)
> mfg
> Christian

I think that either you don't understand the concept of chrooting, or I 
just don't get what you're asking. If you simply mean that you set 
$LFS=/pkgs/lfs-6.3 then that's where you've chrooted into, so of course 
once you're chrooted then /pkgs/lfs-6.3/lib becomes /lib.

More information about the lfs-chat mailing list