On Sun, 18 Mar 2018 14:27:25 +0100
Pierre Labastie <pierre.labas...@neuf.fr> wrote:

> On 18/03/2018 13:44, Kovalsky RU wrote:
> > Help me please with compilling. All test wich in the lfs book 8.2
> > succsesfully. I have search in internet, but no results.
> > 
> > lfs@kos-HP-Elite-7500-Series-MT:/mnt/lfs/sources/expect5.45.4$ make
> > gcc \
> >      -pipe -O2 -fomit-frame-pointer -Wall -fPIC  \
> >      -Wl,--export-dynamic  \
> >     -o expect exp_main_exp.o \
> >     -L/mnt/lfs/sources/expect5.45.4 -lexpect5.45.4 \
> >     -L/tools/lib -ltcl8.6 \
> >     -ldl  -lm \
> >     -Wl,-rpath,/tools/lib \
> >     -Wl,-rpath,/tools/lib/expect5.45.4
> > /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 
> > <http://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
> > <http://libtcl8.6.so>, not found (try using -rpath or -rpath-link)
> > /tools/lib/libtcl8.6.so <http://libtcl8.6.so>: undefined reference to
> > `pthread_setspecific@GLIBC_2.2.5'
> > /tools/lib/libtcl8.6.so <http://libtcl8.6.so>: undefined reference to
> > `pthread_getspecific@GLIBC_2.2.5'
> > /mnt/lfs/sources/expect5.45.4/libexpect5.45.4.so 
> > <http://libexpect5.45.4.so>:
> > undefined reference to `openpty@GLIBC_2.2.5'
> > /tools/lib/libtcl8.6.so <http://libtcl8.6.so>: undefined reference to
> > `pthread_key_delete@GLIBC_2.2.5'
> > /tools/lib/libtcl8.6.so <http://libtcl8.6.so>: undefined reference to
> > `pthread_key_create@GLIBC_2.2.5'
> > /tools/lib/libtcl8.6.so <http://libtcl8.6.so>: undefined reference to
> > `pthread_create@GLIBC_2.2.5'
> > /tools/lib/libtcl8.6.so <http://libtcl8.6.so>: undefined reference to
> > `pthread_join@GLIBC_2.2.5'
> > /tools/lib/libtcl8.6.so <http://libtcl8.6.so>: undefined reference to
> > `pthread_attr_setstacksize@GLIBC_2.2.5'
> > collect2: error: ld returned 1 exit status
> > Makefile:391: recipe for target 'expect' failed
> > make: *** [expect] Error 1
> >   
> 
> Looks like the same error as
> http://lists.linuxfromscratch.org/pipermail/lfs-support/2018-March/051899.html.
> See the answers by Ken and myself.
> 
> Pierre
> 
I've just found a third example on Linux Questions: 
https://www.linuxquestions.org/questions/linux-from-scratch-13/linux-from-scratch-8-2-package-expect5-45-4-did-not-making-4175625806/

It seems to be a widespread problem so it's probably not due to carelessness. I 
wonder if it's host-related. I notice that the first complainer was using Mint 
(an Ubuntu derivative) and the second was using Ubuntu itself. I don't know 
about the third one. But I seem to remember from some years back that Ubuntu 
was not then considered a good build host for LFS.
-- 
-- 
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