build problems

David Brown <>
Wed Oct 20 22:41:52 CEST 1999


Klacke writes:
 > 
 > 
 >  > >> duva:klacke> gcc ttytest.c -ltermcap -L/lib
 >  > >> /usr/bin/ld: cannot open -ltermcap: No such file or directory
 >  > >> collect2: ld returned 1 exit status
 >  > 
 >  > Try with -L *before* -l, those flags are normally intentionally
 >  > position-dependant. It seems rather weird to not have /lib in the
 >  > default directory list, though.
 >  > 

try gcc ttytest.c -lncurses

Most Linux distributions don't have a libtermcap at all.

Dave Brown



More information about the erlang-questions mailing list