Click to See Complete Forum and Search --> : -lncurses is making me curse!


livermoron1
03-15-2001, 09:46 AM
Hi all,

I am attempting to install Pine on my Debian system (2.2.18pre21) and I get the following error during the compilation of 3 of the 5 binaries needed for Pine.

/usr/src/ld - cannot find -lncurses.
exit:error status=1

This is driving me nuts. I am pretty certain that I have ncurses installed, but what the hell is -lncurses?

If you are familiar with -lncurses - is this a different package than ncurses? How important is this file - I am seriously considering commenting this line out of the makefile used to build the binary.

Any help or additional information is appreciated - I have been struggling with this for 2 weeks.

Thanks

7
03-15-2001, 10:37 AM
First off, ncurses provides a GUI in the console, so I dont think youll be able to comment it out ok.

ncurses is a library, -l means -<link><library>, if you see what i mean.

find out if you have ncurses,

ls /lib/*curses*

If you get some files called that then you have the ncurses libraries.

you need to run,

ldconfig

That'll set up the linker for ncurses.

If that dosent work, post back.

[ 15 March 2001: Message edited by: 7 ]

livermoron1
03-16-2001, 12:17 PM
Well,
I tried your suggestion and tried to recompile - it is still looking for and not finding -lncurses.

In my /lib directory I have the following files associated with ncurses:
libncurses.so.4
libncurses.so.4.2
libncurses.so.5
libncurses.so.5.0

I ran ldconfig but didn't use any arguments - should I have? I ran it whil in the /lib dir - is that correct?

At least we are getting a little closer. I appreciate your help.

What would be the next step?

Is it a configuration issue with ncurses. Perhaps my ncurses was configured incorrectly in the initial setup of my system.

[ 16 March 2001: Message edited by: livermoron1 ]

livermoron1
03-16-2001, 06:12 PM
cmon guys - I need help