Can't Compile tar-1.22

Andrew Benton b3nton at gmail.com
Fri Feb 5 02:45:50 PST 2010


On 05/02/10 07:23, brown wrap wrote:
> sed: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
> sed: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
>

It seems that you made an error when you set up the environment for the 
user lfs. When you compiled sed it was linked against libselinux on your 
host system. If you followed the book correctly this would not have 
happened. You should su - lfs, source ~/.bash_profile and recompile sed 
with the instructions in chapter 5

Andy



More information about the lfs-support mailing list