Quote Originally Posted by wpte View Post
the error
Code:
/tmp/ccbNsdgJ.o: In function `main':
:(.text+0x10): undefined reference to `initscr'
collect2: ld returned 1 exit status
It means that libncurses.so library cannot be found by gcc
Where is it located? OpenSUSE store it in /usr/lib (/usr/lib64)

Is library contains initscr():
Code:
readelf -s libncurses.so | grep initscr
?