[fpc-pascal] Error: cannot find -lcurses

Florian Klaempfl F.Klaempfl at gmx.de
Sun Apr 24 23:22:21 CEST 2005


Marco van de Voort wrote:
>>Greenblatt <greenblatt at inode.at> wrote:
>>
>>
>>>Hi,
>>>
>>>I have a problem with FreePascal 1.0.10 under SuSE 9.1. If I want to
>>>compile source code, which makes use of the keyboard unit, I get the
>>>following error message:
>>>
>>>    /usr/bin/ld: cannot find -lcurses
>>>    Pong(46) Error: Error while linking
>>>    Closing script ppas.sh
>>>
>>>Since I'm a beginner concerning Pascal and don't know the inner-working
>>>of the compiler, I ask you for help.
>>>
>>
>>Hallo Hans-Peter
>>
>>1) Do you have the ncurses library installed? (This is quite probable,
>>   it comes with most distributions) 
>>   Try: locate libcurses
>>   or check in /usr/lib, /usr/local/lib for that lib.
>>   if no luck, install it.
>>
>>2) It's also possible you don't have the library in the search path,
> 
> 
>   3) there is no symlink from libcurses.so to libncurses.so

4) there is no ncurses development library installed.





More information about the fpc-pascal mailing list