LFS學習中遇到的錯誤

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章