Some programs use hard-wired paths to programs which do not exist yet. In order to satisfy these programs, create a number of symbolic links which will be replaced by real files throughout the course of the next chapter after the software has been installed.
ln -sv /tools/bin/{bash,cat,echo,grep,pwd,sleep,stty} ${CLFS}/bin ln -sv /tools/bin/file ${CLFS}/usr/bin ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib ln -sv bash ${CLFS}/bin/sh
To enable some c++ tests in the Glibc and Binutils testsuites to link, create a directory and make some symbolic links:
mkdir -pv ${CLFS}/usr/lib64 ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib64