一、tar解压时出错:
tar: bzip2: Cannot exec: Too many levels of symbolic links tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors
原因是在创建硬链接的时候路径不完整造成的
$ln -sv $LFS/tools /
直接写成:$ln -sv /mnt/lfs/tools /
硬链接创建错误还可能导致找不到gcc路径的错误:
configure:error:installationorconfigurationproblem:Ccompilercannot create executables