<div dir="ltr"><div>Hi Rich<br><br></div>I'm sure that this is some dependeny  issue.<br><div>libtinfo-dev is already installed.<br><br></div><div>I have install libcunit1-ncurses-dev,libncurses5<br><br></div><div>However the package ncurses-devel is nor present in ubuntu.<br>
<br>apt-cache search ncurses-devel returns nothing<br><br></div><div>Thanks for the quick reply<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 29, 2014 at 5:18 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Thu, May 29, 2014 at 05:05:30PM +0530, abhishek jain wrote:<br>
> Hi<br>
><br>
> I'm getting following error while compiling libguestfs-1.26.1...<br>
><br>
>  CCLD     guestfish<br>
> guestfish-progress.o: In function `progress_bar_init':<br>
> /home/ubuntu/libguestfs-1.26.1/fish/progress.c:123: undefined reference to<br>
> `tgetent'<br>
> guestfish-progress.o: In function `progress_bar_set':<br>
> /home/ubuntu/libguestfs-1.26.1/fish/progress.c:282: undefined reference to<br>
> `tgetnum'<br>
> /home/ubuntu/libguestfs-1.26.1/fish/progress.c:297: undefined reference to<br>
> `UP'<br>
> guestfish-progress.o: In function `fprintf':<br>
> /usr/include/powerpc-linux-gnu/bits/stdio2.h:97: undefined reference to `UP'<br>
> collect2: error: ld returned 1 exit status<br>
<br>
</div>These symbols are provided by 'libtinfo' which is part of ncurses.<br>
<br>
So you'll probably need to install that library, eg:<br>
<br>
  yum install ncurses-devel<br>
  apt-get install libtinfo-dev<br>
<br>
Rich.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" target="_blank">http://rwmj.wordpress.com</a><br>
virt-top is 'top' for virtual machines.  Tiny program with many<br>
powerful monitoring features, net stats, disk stats, logging, etc.<br>
<a href="http://people.redhat.com/~rjones/virt-top" target="_blank">http://people.redhat.com/~rjones/virt-top</a><br>
</font></span></blockquote></div><br></div>