gcc -lterminfo

Eli Zaretskii eliz@is.elta.co.il
Mon Apr 2 00:57:00 GMT 2001


On Sun, 1 Apr 2001, Xianglong Huang wrote:

> gcc ... -lterminfo ...
> I can find the library terminfo at /usr/share
> 
> >ls /usr/share/terminfo
> 1  3  5  7  9  P  a  c  e  g  i  k  m  o  q  s  u  w  z
> 2  4  6  8  N  X  b  d  f  h  j  l  n  p  r  t  v  x  
> 
> But the ./configure just cannot find it.

This isn't the terminfo library, this is a terminfo data-base (which
functions in the terminfo library access).  What GCC is looking for is
a file called libterminfo.a or libterminfo.so, and it should be in one
of the directories where you keep your other lib*.a and lib*.so files.



More information about the Gdb mailing list