ncurses.h ?
Im having trouble running / linking with ncurses. From my understanding i should be able to find it in /usr/lib however i dont see it. Building, or even running any of the applications ive written for class fail. Linking through gcc - for example:
gcc -Wall main.c -lcurses
For already compiled versions I receive an error saying:
error while loading shared libraries: libtinfo.so.5: cannot open shared object file: no such file or directory
From other searches I understand that this library should come with unbuntu, and after trying to download the library it says i already have it. I also understand there are libraries in which to develop applications, as well as one to run the apps. Any semi-newb understandable help would be appreciated.
Im not sure if it helps but im running this version:
Linux version 2.6.31-15-generic (buildd@rothera) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009
Thanks!
|