Hi all,

I am not long after building my LFS-8.1 system and am starting to
build some of the packages from BLFS.

I am currently trying to build xfsprogs 4.12.0. However, the build
fails with the following error:

—————

/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libreadline.so:
undefined reference to `tputs'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libreadline.so:
undefined reference to `tgoto'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libreadline.so:
undefined reference to `tgetflag'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libreadline.so:
undefined reference to `UP'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libreadline.so:
undefined reference to `tgetent'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libreadline.so:
undefined reference to `tgetnum'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libreadline.so:
undefined reference to `PC'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libreadline.so:
undefined reference to `tgetstr'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libreadline.so:
undefined reference to `BC'
collect2: error: ld returned 1 exit status
make[3]: *** [../include/buildrules:46: xfs_io] Error 1
make[2]: *** [include/buildrules:35: io] Error 2

—————

After doing a bit of reading around, it seems that the issue is
readline not being linked against ncurses correctly; is this correct?
Any ideas on how to proceed from here?

As an aside, naturally the package builds if the
“LOCAL_CONFIGURE_OPTIONS="--enable-readline"” part of the command is
removed, though I do not really know the result will be when the
package is used at a later date.

Cheers!

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

Reply via email to