一、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