-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi ,
I have this problem then I am compiling.
bin/sh ../libtool --mode=link gcc -O0 -g3 -Wall -o testar main.o
- -lcurses
gcc -O0 -g3 -Wall -o testar main.o -lcurses
/usr/i486-suse-linux/bin/ld: cannot find -lcurses
collect2: ld returned 1 exit status
I do not know how to fix the problem maybe someone can help me.
/************************************************************************
*
* Purpose: To read and verify a password.
* Compile: gcc password.c -lcurses
* Notes: To read text from the keyboard on a UNIX system without
* it being echoed to the screen you can use noecho() and
* getch() from curses.h In DOS you can use getch() in conio.h
* Author: M. J. Leslie
* Date: 12-Mar-94
*
************************************************************************/
#include
Hans Sandén wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi ,
I have this problem then I am compiling.
bin/sh ../libtool --mode=link gcc -O0 -g3 -Wall -o testar main.o - -lcurses gcc -O0 -g3 -Wall -o testar main.o -lcurses /usr/i486-suse-linux/bin/ld: cannot find -lcurses collect2: ld returned 1 exit status
I do not know how to fix the problem maybe someone can help me.
$rpm -qf /usr/lib/curses termcap-2.0.8-392 Do you have termcap installed? Mark
Hans Sandén wrote:
/usr/i486-suse-linux/bin/ld: cannot find -lcurses collect2: ld returned 1 exit status
I do not know how to fix the problem maybe someone can help me.
Make sure you have the ncurses rpm installed. If it is, make sure you have a symlink in /lib @libcurses.s0 pointing to libncurses.so.5 (whatever is your highest). If you need to create the symlink: cd /lib ln -s libcurses.so libncurses.so.5.2
participants (3)
-
Hans Sandén
-
Mark Hounschell
-
zentara