On 12/29/2019 9:35 AM, Bruce Dubbs wrote:
On 12/29/19 9:45 AM, Alan Feuerbacher wrote:
I'm building LFS Version 20191222-systemd, and have run into a problem
I've not seen before. I've entered the Chroot Environment section
and have gotten up to building glibc.
Configure for glibc failed for the Python3 check. For some reason,
the chroot environment does not find python3 to check its version,
although it finds other programs with no trouble.
For example, the system finds sed:
###
(lfs chroot) root:/tools/bin# ./sed --version
./sed (GNU sed) 4.7
. . .
###
But the system does not find python3.8 or the link python3:
###
(lfs chroot) root:/tools/bin# ./python3.8 --version
bash: ./python3.8: No such file or directory
###
Yet everything looks fine in a directory listing:
###
(lfs chroot) root:/tools/bin# ls -l py*
lrwxrwxrwx 1 root root 8 Dec 29 06:02 pydoc3 -> pydoc3.8
-rwxr-xr-x 1 root root 80 Dec 29 06:02 pydoc3.8
lrwxrwxrwx 1 root root 9 Dec 29 06:02 python3 -> python3.8
lrwxrwxrwx 1 root root 16 Dec 29 06:02 python3-config ->
python3.8-config
-rwxr-xr-x 1 root root 20059976 Dec 29 06:02 python3.8
-rwxr-xr-x 1 root root 3083 Dec 29 06:02 python3.8-config
###
Am I missing something?
What do you get for "ldd /tools/bin/python3" ?
-- Bruce
(lfs chroot) root:/tools/bin# ldd /tools/bin/python3
linux-vdso.so.1 (0x00007ffcc9e82000)
libcrypt.so.2 => not found
libpthread.so.0 => /tools/lib/libpthread.so.0
(0x00007f8eaa69b000)
libdl.so.2 => /tools/lib/libdl.so.2 (0x00007f8eaa696000)
libutil.so.1 => /tools/lib/libutil.so.1 (0x00007f8eaa691000)
libm.so.6 => /tools/lib/libm.so.6 (0x00007f8eaa54e000)
libc.so.6 => /tools/lib/libc.so.6 (0x00007f8eaa390000)
/lib64/ld-linux-x86-64.so.2 => /tools/lib64/ld-linux-x86-
64.so.2 (0x00007f8eaa6be000)
--
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