LINUX.ORG.RU

Linux From Scratch 8.2 expect5.45.4 make error

 , , ,


0

1

Помогите пожалуйста. Делал все по книге, все тесты прошли успешно, все пакеты стоят вплоть до tcl. Застрял на expect. все было нормально до этих строк: lfs@kos-HP-Elite-7500-Series-MT:/mnt/lfs/sources/expect5.45.4$ make

/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) /tools/lib/libtcl8.6.so: undefined reference to `pthread_setspecific@GLIBC_2.2.5' /tools/lib/libtcl8.6.so: undefined reference to `pthread_getspecific@GLIBC_2.2.5' /mnt/lfs/sources/expect5.45.4/libexpect5.45.4.so: undefined reference to `openpty@GLIBC_2.2.5' /tools/lib/libtcl8.6.so: undefined reference to `pthread_key_delete@GLIBC_2.2.5' /tools/lib/libtcl8.6.so: undefined reference to `pthread_key_create@GLIBC_2.2.5' /tools/lib/libtcl8.6.so: undefined reference to `pthread_create@GLIBC_2.2.5' /tools/lib/libtcl8.6.so: undefined reference to `pthread_join@GLIBC_2.2.5' /tools/lib/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

полный файл: https://drive.google.com/open?id=1trZF0hF_3cf8Y0JalEJtA5_4cKcUL__5

ld не может найти библиотеки libpthread.so.0 и libutil.so.1 чтобы слинковать с ними.

saahriktu ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.