[SOLVED] lfs 10.1 | Entering the Chroot Environment | Ubuntu 20.04 | '/usr/bin/env’: Not a directory
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
what is at $LFS/dev , $LFS/proc etc ie are the virtual systems mounted, what are the mount options for $LFS
I'm experiencing the same exact issues with $LFS mounted, the proper environment variables set, and virtual systems mounted according to the instructions in the 10.1 guide. https://www.linuxquestions.org/quest...ry-4175692690/
It's a bit odd that both of us, on the same day, ran into the same issue, at the same exact point in the process.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152
Rep:
I had a similar problem when 1st using the new build system, it was the lib folders, are you using /lib64 and /usr/lib64 ( presuming a 64 bit machine ) or are you using /lib and /usr/lib ?
On my system /lib is symlink to /lib64 and /usr/lib is symlink to /usr/lib64.
I had a similar problem when 1st using the new build system, it was the lib folders, are you using /lib64 and /usr/lib64 ( presuming a 64 bit machine ) or are you using /lib and /usr/lib ?
On my system /lib is symlink to /lib64 and /usr/lib is symlink to /usr/lib64.
Very interesting and insightful!
So, it appears that I'm using /lib and /usr/lib for all but the following:
Inside /mnt/lfs/lib64 are ld-linux-x86_64.so.2 and ld-lsb-x86-64.so.3
/mnt/lfs/usr/lib64 contains several libstdc++ libraries
What do you think is the best way to proceed from here since there are libs in both?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.