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

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