[fpc-pascal] Error: cannot find -lcurses

Marco van de Voort marcov at stack.nl
Sun Apr 24 20:31:49 CEST 2005


> 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





More information about the fpc-pascal mailing list