8.7. Creating Essential Symlinks

#### Cross-Compiled Linux From Scratch - Version 1.0.0rc2-x86_64-Pure64

### Chapter 8. If You Are Going to Chroot

- Prev

  Creating Directories

- Next

  Creating the passwd, group, and log Files

- Up.
- Home

# 8.7. Creating Essential Symlinks

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,grep,pwd,stty} /bin
    ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib
    ln -sv /tools/lib/libstd* /usr/lib
    ln -sv bash /bin/sh

- Prev

  Creating Directories

- Next

  Creating the passwd, group, and log Files

- Up.
- Home.