[code:1]
PATH=$PATH:/tools/bin/
export PATH
[/code:1]
Add these two lines in your /home/lfs/.bash_profile, if you havn't it , vim a new.
Then use the user"lfs" login (not su -), do "echo $PATH" and take a look at it.
If you can see the /tools/bin/ appears at the end of $PATH, try the steps upstairs.
[code:1]PATH=$PATH:/tools/bin/
export PATH[/code:1]
Add these two lines in your /home/lfs/.bash_profile
Then use the user"lfs" login (not su -), do "echo $PATH" and take a look at it.
If you can see the /tools/bin/ appears at the end of $PATH, try the steps upstairs.
[root@localhost satimis]# /usr/sbin/chroot "$LFS" /tools/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin /tools/bin/bash --login +h[code:1]I have no name!:/#[/code:1]
The solution was removing basb-3.0 and to reinstall it from its tarball. Make sure;
/tools/bin/gcc
[Requesting program interpreter: /tools/lib/ld-linux.so.2]
/tools/bin/g++
[Requesting program interpreter: /tools/lib/ld-linux.so.2]
/mnt/lfs/tools/bin/bash
[Requesting program interpreter: /tools/lib/ld-linux.so.2]
and
echo $PATH
[code:1]/tools/bin:/bin:/usr/bin[/code:1]