<div dir="ltr"><div><div><div><div>Hi <br><br></div>I want to build libguestfs on my laptop. <br></div>I run Centos 6.4, libguestfs libguestfs-1.24.3.<br><br></div>I get this error:<br><br>Wide character in print at /root/libguestfs-1.24.3/<a href="http://podwrapper.pl">podwrapper.pl</a> line 418.<br>
<a href="http://podwrapper.pl">podwrapper.pl</a>: wrote guestfish.1<br><a href="http://podwrapper.pl">podwrapper.pl</a>: wrote ../html/guestfish.1.html<br>touch stamp-guestfish.pod<br>  CCLD     guestfish<br>guestfish-progress.o: In function `progress_bar_set':<br>
/root/libguestfs-1.24.3/fish/progress.c:282: undefined reference to `tgetnum'<br>guestfish-progress.o: In function `fprintf':<br>/usr/include/bits/stdio2.h:98: undefined reference to `UP'<br>guestfish-progress.o: In function `progress_bar_init':<br>
/root/libguestfs-1.24.3/fish/progress.c:123: undefined reference to `tgetent'<br>collect2: ld returned 1 exit status<br>make[3]: *** [guestfish] Error 1<br>make[3]: Leaving directory `/root/libguestfs-1.24.3/fish'<br>
make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/root/libguestfs-1.24.3/fish'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/root/libguestfs-1.24.3'<br>make: *** [all] Error 2<br>
<br><br></div>I've read this page <a href="http://www.redhat.com/archives/libguestfs/2012-September/msg00025.html">http://www.redhat.com/archives/libguestfs/2012-September/msg00025.html</a><br clear="all"><div><div><div>
<div><div><div><br></div><div>I have libtinfo on my machine:<br><br>/lib64/libtinfo.so.5<br>/lib64/libtinfo.so.5.7<br>/usr/lib/libtinfo.so<br><br></div><div>Check the tgetnum, UP, tgetent<br><br>nm -D /usr/lib64/libtinfo.so | grep tgetnum<br>
0000003cd1210c40 T tgetnum<br><br>nm -D /usr/lib64/libtinfo.so | grep UP<br>0000003cd1420fa8 B UP<br><br>nm -D /usr/lib64/libtinfo.so | grep tgetent<br>0000003cd1210f00 T tgetent<br><br></div><div>Even get this error on older libguestfs libguestfs-1.20.12<br>
<br></div><div>Thanks<br></div></div></div></div></div></div></div>