[PLEASE keep replies on the list]
On Wed, Dec 10, 2014 at 01:03:01PM +0800, cuimingwen(a)incito.com.cn wrote:
Hi, Rich.
when I compile install the libguestfish1.26.5
./configure ; make:
the errors show “
/root/virTest/libguestfs-1.26.5/fish/progress.c:282: undefined reference to `tgetnum'
guestfish-progress.o: In function `fprintf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:97: undefined reference to `UP'
collect2: error: ld returned 1 exit status
make[3]: *** [guestfish] Error 1
make[3]: Leaving directory `/root/virTest/libguestfs-1.26.5/fish'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/virTest/libguestfs-1.26.5/fish'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/virTest/libguestfs-1.26.5'
make: *** [all] Error 2”
You need to install libtinfo-dev and maybe libreadline-dev, and then
re-run ./configure.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html