Hi,
I just went through the building of all the temporary tools in chapter 5, and I was about to chroot into my temporary system, when chroot spewed out an error about a nonexistent '/tools/bin/env'.
Here's what my /tools/bin actually contains:
Code:
[root@slackware-live:lfs] # ls /tools/bin/
addr2line gzexe logger setterm
ar gzip look sh
as hexdump lsblk size
awk i386 lscpu sotruss
bash i686-lfs-linux-gnu-addr2line lslocks sprof
bashbug i686-lfs-linux-gnu-ar lslogins strings
bunzip2 i686-lfs-linux-gnu-as lzcat strip
bzcat i686-lfs-linux-gnu-c++ lzcmp tabs
bzcmp i686-lfs-linux-gnu-c++filt lzdiff tailf
bzdiff i686-lfs-linux-gnu-cpp lzegrep taskset
bzegrep i686-lfs-linux-gnu-elfedit lzfgrep tclsh
bzfgrep i686-lfs-linux-gnu-g++ lzgrep tclsh8.6
bzgrep i686-lfs-linux-gnu-gcc lzless texi2any
bzip2 i686-lfs-linux-gnu-gcc-4.9.1 lzma texi2dvi
bzip2recover i686-lfs-linux-gnu-gcc-ar lzmadec texi2pdf
bzless i686-lfs-linux-gnu-gcc-nm lzmainfo texindex
bzmore i686-lfs-linux-gnu-gcc-ranlib lzmore tic
c++ i686-lfs-linux-gnu-gcov m4 toe
c++filt i686-lfs-linux-gnu-gprof make tput
cal i686-lfs-linux-gnu-ld makedb tset
captoinfo i686-lfs-linux-gnu-ld.bfd makeinfo tzselect
catchsegv i686-lfs-linux-gnu-nm mcookie ul
cc i686-lfs-linux-gnu-objcopy mesg umount
chrt i686-lfs-linux-gnu-objdump more uname26
clear i686-lfs-linux-gnu-ranlib mount uncompress
cmp i686-lfs-linux-gnu-readelf mountpoint unlzma
col i686-lfs-linux-gnu-size msgfmt unshare
colcrt i686-lfs-linux-gnu-strings msgmerge unxz
colrm i686-lfs-linux-gnu-strip mtrace updatedb
column i686-pc-linux-gnu-c++ namei utmpdump
cpp i686-pc-linux-gnu-g++ ncursesw5-config uuidgen
diff i686-pc-linux-gnu-gcc nm wall
diff3 i686-pc-linux-gnu-gcc-4.9.1 nsenter wdctl
dmesg i686-pc-linux-gnu-gcc-ar objcopy whereis
egrep i686-pc-linux-gnu-gcc-nm objdump xargs
eject i686-pc-linux-gnu-gcc-ranlib oldfind xgettext
elfedit iconv patch xtrace
expect igawk pcprofiledump xz
fallocate infocmp pdftexi2dvi xzcat
fgrep infotocap perl xzcmp
file install-info pg xzdec
find ionice pldd xzdiff
findmnt ipcmk pod2man xzegrep
flock ipcrm pod2texi xzfgrep
g++ ipcs prlimit xzgrep
gawk isosize ranlib xzless
gawk-4.1.1 kill readelf xzmore
gcc last rename zcat
gcc-ar lastb renice zcmp
gcc-nm ld reset zdiff
gcc-ranlib ld-new rev zegrep
gcov ld.bfd rpcgen zfgrep
gencat ldd runtest zforce
getconf lddlibc4 script zgrep
getent linux32 scriptreplay zless
getopt linux64 sdiff zmore
gprof locale sed znew
grep localedef setarch
gunzip locate setsid
Unfortunately, 'env' is nowhere to be found.
Any suggestions?