On 19/03/2018 10:16, Pierre Labastie wrote: > On 19/03/2018 01:52, Ken Moffat wrote: >> On Sun, Mar 18, 2018 at 10:28:13PM +0000, Clyde McKenney wrote: >>> /mnt/lfs/tools/bin/../lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: >>> warning: libutil.so.1, needed by >>> /mnt/lfs/sources/expect5.45.4/libexpect5.45.4.so, not found (try using >>> -rpath or -rpath-link) >>> /mnt/lfs/tools/bin/../lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: >>> warning: libpthread.so.0, needed by /tools/lib/libtcl8.6.so, not found >>> (try using -rpath or -rpath-link) >>> >>> [...] >>> >>> >>> I have those two files, they exist in /tools/lib, during the expect5.45.4 >>> make, as symlinks to existing lib*-2.27.so files, even though gcc complains >>> that they're not there. (?) >>> > > As Ken, I'm not sure what to advise. The only diagnostic I can propose at this > point is to add the the "-v" and "-Wl,-verbose" switches to the offending gcc > command: cd to /sources/expect5.45.4/, copy the long gcc command, add the > switches, and pipe the output to a file (then hit enter). Then browse the > output (or post it), looking for paths used by gcc for finding headers and > libraries. > >> >>> Could the fact that these errors reference "GLIBC2.2.5", when the book and >>> I are using glibc 2.27, be a hint? > > I do not think so. "GLIBC2.2.5" is just a tag indicating that the symbol (here > "pthread_specific") is the one defined since the 2.2.5 version of glibc, and > that if a library is found with a previous version of the symbol, it should > not be used... > >>> But then FWIW, I just successfully compiled expect5.45.4 inside a fresh >>> VirtualBox using Manjaro, an Arch distro. So blame Mint... > > After yesterday's discussion, I ran a build in a VM with ubuntu, and all went > well. I think if version-check.sh is OK, the build instructions should work... > I may try to install mint in a VM though... >
Everything seems OK with linuxmint-18.3 cinnamon-64 bit (in a VM)... 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