I believe that you must put a link in with `.so' , i.e. without the version numbers, and, of course, run ldconfig -v to be sure first. -Walter
On Sat, 4 Jan 1997, Timothy Phan wrote: > Hi, > > I'm running into another problem again with gcc while try to > build vile. > > The gcc can not load -ltermcap nor -lncurses. Here are the > two small programs that caused the problem: > > prog1.c > char initscr(); int main() { initscr(); return 0; } > $ gcc prog1.c -lncurses > ld: cannot open -lncurses: no such file or directory > > prog2.c > char tgoto(); int main() { tgoto(); return 0; } > $ gcc prog1.c -ltermcap > ld: cannot open -ltermcap: no such file or directory > > both libs are in /lib: > libncurses.so.3.0 > libtermcap.so.2 -> libtermcap.so.2.0.8 > libtermcap.so.2.0.8 > > BTW, I got these two small programs from the configure script of the > vile6.4 package. > > Any idea? Many thanks! > -- > -------------------- Timothy C. Phan ([EMAIL PROTECTED]) > > -------------------- NEC America, Inc. ASL > -------------------- 1525 Walnut Hill Ln. Irving, TX 75038 > -------------------- tel: (214)-518-3437 fax: (214)-518-3499 > > > -- > TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to > [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] > -- This message was delayed because the list mail delivery agent was down.