This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gcc -lterminfo
- To: Xianglong Huang <xlhuang at cs dot umass dot edu>
- Subject: Re: gcc -lterminfo
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Mon, 2 Apr 2001 09:54:25 +0200 (IST)
- cc: gdb at sources dot redhat dot com
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.