LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 6.9.1 Installation of Glibc Error (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-6-9-1-installation-of-glibc-error-4175615129/)

Cr!ms0nC0d3r 10-05-2017 08:02 PM

LFS 6.9.1 Installation of Glibc Error
 
Hello All, When running the second command in LFS 6.9.1-(ln -sfv /tools/lib/gcc /usr/lib)- I get this error : (ln: /usr/lib/gcc: cannot overwrite directory)
Thanks in advance

spiky0011 10-06-2017 03:15 AM

Either your not chrooted in correctly or something went wrong in Ch 6.6 I would be careful and check all, this is only linking directories

Cr!ms0nC0d3r 10-06-2017 08:24 AM

One thing that went wrong was that in a previous section, It said If you close the previous terminal and open another one and chariot into it , the I have no name would go away but It didnt.

spiky0011 10-06-2017 11:22 AM

Did you not investigate the problem?
Did you reboot the system? if so did you make sure that the LFS partition was mounred, and that you mounted the Virtual Filesystems Ch6.2.2 & 6.2.3. Was LFS set for the root user befre chroot $LFS=/mnt/lfs ?

algray 08-24-2018 08:26 AM

Follow-up to this issue/error
 
Just making a quick post here because when I was trying to resolve this error on my machine, I inadvertently removed the symlinks to 'rm' and 'ln'. It took me awhile to remember that in order to restore ln, I needed to use:

$LFS/tools/bin/ln -sv /tools/bin/{bash,cat,dd,echo,pwd,rm,stty} /bin


All times are GMT -5. The time now is 10:09 PM.