Jonathan P. Hanke on Sat, 29 Dec 2001 12:27:04 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Mandrake 8.1 ncurses question


Hi,

I'm trying to install pari-2.1.1 on Mandrake 8.1, but it's having trouble
finding the ncurses library.  When I 'make install' it gives:

/root/Installed/Pari-GP-2.1.1/pari-2.1.1/Olinux-i686:/usr/local/lib:/usr/X11R6/lib
-L/root/Installed/Pari-GP-2.1.1/pari-2.1.1/Olinux-i686 -L/usr/local/lib
-lreadline -lncurses -L/usr/local/lib -lpari -L/usr/X11R6/lib -lX11  -ldl
-lm
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make[1]: *** [gp-dyn] Error 1

I have libncurses5-5.2-16mdk and ncurses-5.2-16mdk installed, and when I
'locate libncurses' it finds some libraries in /lib and /usr/lib.  But
changing the line of the Makefile

	RLLIBS    = -L/usr/local/lib -lreadline -lncurses

to either of

	RLLIBS    = -L/usr/local/lib -lreadline -L/usr/lib -lncurses
	RLLIBS    = -L/usr/local/lib -lreadline -L/lib -lncurses

doesn't fix the problem.  Any comments are appreciated.  Thanks,

								-Jon