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.
Hi, ive gotten to chapter 6.11 with no problems yet, but now ive hit a bump in the road...
When I started chapter 6.11 i did the usual expect command and got the pty error - (hadnt happened before but i fixed it by lookin at some hints and redoing a few previous steps)
I then made the directory binutils-build, then configured binutils file. No problems.
when i run the make tooldir=/usr command it doesnt get far and throws up a few errors:
libbfd-2.16.1.so: cant open shared object file: no such file or directory
make[1]: *** [libiberty.a] Error 127
make: *** [all-libiberty] Error 2
ive removed the binutils directory and untared the files again and redid the steps, but still the same errors. I have no idea what to do. ive tried lookin around the net, at hints, but no luck.
Also ill mention that in re-adjusting the toolchain i didnt get all the outputs, although there were no errors.
im running the lfs livecd as host, and its on a pentium 3, if its any help.
Hi,
ok, I guess there isnt an easy solution. I tried retaking some steps and some other ideas. Still coming up with the error.
Im just gonna try and restart the whole of chapter 6. Does anybody have any idea on how to remove what I have already done so i can try a fresh install? I know how to do some parts, but im not so sure on the /tools dir if i need to remove anything there...
Also ill mention that in re-adjusting the toolchain i didnt get all the outputs, although there were no errors.
Could you give more detail here, as I think this could be the problem. It is fairly vital to readjust the toolchain correctly, all sorts of problems occur if it isn't done to the letter.
About restarting chapter 6 (probably a good idea), /tools should be the same as it was at the end of chapter 5 (provided there were no unfortunate typos) so removing everything except /tools and /sources should be fine.
Hi, well the first time round it just didnt print out what the guide said; it didnt print out anything infact, no errors.
Anyway, I went back - after i made this thread- and redid the steps from part 6.7. When I got to the toolchain part I got all the expected outputs from the guide, but unfortuneatly the original problem was still there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.