v9.0 Seem to have issue with directory/path in chroot Chapter 6
So I completed version 8.4, and did not have this issue.
Comparing the two, I am not even seeing much difference between what I did. Anyway the issue was spotted in Chapter 6.7. Linux-5.2.8 API Headers Quote:
Quote:
Quote:
Thanks! |
Does /tools/bin/xz exist? Have you ran make install when you compiled xz at the end of chap. 5?
|
Yes, you are correct, I missed that.
Thanks a bunch for the help! |
It is there now, but I am getting the same result
Quote:
Quote:
|
Check "ldd /tools/bin/xz" output from outside the chroot. If it doesn't show /tools/lib/ld-linux*, it's possible that you've already adjusted the toolchain, or you didn't build and install xz with LFS user environment.
|
This is the response it gave:
Quote:
|
The problem is that it shows "/lib64/ld-linux-x86-64.so.2" instead of "/tools/lib64/ld-linux-x86-64.so.2" which means either
1) Temp. toolchain wasn't adjusted correctly (source dirs were kept between gcc pass1 and gcc pass2 2) You did not build it as LFS user or your LFS user didn't have the correct environment set up to use /tools/bin/gcc and friends. I suspect 2), since "tar" seems fine. |
Okay, thanks! I will just over on this.
|
All times are GMT -5. The time now is 05:32 PM. |