Hi Andy, thanks for your quick answer. I understand that the two solutions are equivalent: so I kept at work the symlink. Now, another question, yet discussed - as I could verify - in lfs-support, but with some residual doubt as concerns myself: the notorious target triplet. Running config.guess from binutils, I obtain, as expected, "x86_64-unknown-linux-gnu", but "echo $LFS_TGT" furnishes this answer: "x86_64-lfs-linux-gnu". To avoid future problems, must I change something (eventually, where?), or I go ahead not worrying about this discrepancy? Sorry to disturb, but I think the same question will hit other neophytes.
giocitta 2011/12/3 Andrew Benton <b3n...@gmail.com>: > On Fri, 02 Dec 2011 22:55:45 +0100 > Giorgio Cittadini <gioci...@gmail.com> wrote: > >> Today I began my second approach to LFS: I'm trying to build a pure 64 >> bit OS based on the kernel 3.1.4. >> The first approach (sufficiently smooth and fully successful) was from >> and for a 32 bit OS. >> The version of the book being used is 7.0. The host distribution is >> Ubuntu version 64 bit 11.10 (it was necessary to complementary install >> bison, gawk and texinfo). The output from the Section “Host System >> Requirements” presented the well known error "/lib/libc.so.6: no such >> file or directory". This happens - I think - since in my Ubuntu the >> "libc.so.6" is not directly positioned under /lib, but under its >> subdirectory /lib/x86_64-linux-gnu, so as libc-2.13.so. >> I was able to correct the error in two ways: (i) simply copying the >> "libc.so.6" into "/lib"; (2) creating, as suggested by a recent >> lfs-support message (20/1/2011), a symlink "ln -s >> /lib/x86_64-linux/gnu/libc-2.13.so /lib/libc.so.6". >> First: I don't understand the relationship between this two libraries; >> Second: are the two ways equivalent as regards my future buildings? >> Many thanks for a kind answer. > > I wouldn't worry about that. What the script is doing is checking that > your host has a recent glibc, which it does. I'm sorry that an error in > the script has confused you. It's nothing to worry about. > > Andy > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page