On Wed, 2021-03-24 at 17:07 +0100, Patrick Frisch wrote:
> 
> Am 24.03.21 um 13:12 schrieb Scott Andrews:
> > 
> > echo $LFS
> > 
> > Looks like it wasn't set
> > 
> > 
> > 
> 
> No, $LFS is set almost always to /mnt/lfs, as it was in this case, but 
> the cause for the error was found already.
> 
> Do you have a reason why you have two real directories for /lib and 
> /lib64, on most systems I know they already symlinked the two, so you 
> don't have to make this strange empty link in the first place.

I think having ld-linux-x86-64.so.2 in /lib64 is mandated by the LSB (as well as
having ld-lsb-x86-64.so.3, which I have never seen used). But we want to have
everything else in /lib, so we do the necessary changes (case $(uname -m) ... in
gcc, or libc_cv_slibdir=/lib in glibc) in order to have everything in /lib, and
just keep the mandatory file as a symlink in /lib64. Having /lib64 symlinked to
/lib would mean that /lib64 and /lib have the same content. Here /lib64 is
almost empty, and this is what we want... This is possible only if /lib64 is a
real directory.

> 
> And I remember, that I had some issues in the past, because gcc searches 
> some libs in /lib64 or vice versa. So I remember that I did a LFS build 
> with the two libs symlinked (ln -sf /lib /lib64), so I didn't have to 
> fiddle with single library linking, and it worked :-)
> 

That was how we were building a few years ago...

Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to