SuperDARN / rst

Radar Software Toolkit (RST)
https://superdarn.github.io/rst/
GNU General Public License v3.0
21 stars 16 forks source link

ncurses and tinfo not found during installation of v5.0 #598

Closed JWiker closed 9 months ago

JWiker commented 9 months ago

I'm having trouble finding ncurses and tinfo when the installation process runs make for fitacfclientgui:

================================================================================
Compiling Binary:/project/superdarn/software/rst/codebase/superdarn/src.bin/tk/tcpip/fitacfclientgui.1.0
================================================================================
make clean
rm -f *.o
rm -f version.h
rm -f errstr.h
rm -f hlpstr.h
rm -f fitacfclientgui
make
make.version /project/superdarn/software/rst/codebase/superdarn/src.bin/tk/tcpip/fitacfclientgui.1.0
make.help
./doc/fitacfclientgui.doc.xml
cc -std=c99 -fPIC -Wall -pedantic -O3 -D_GNU_SOURCE -D_LINUX  -D_SVGLIB_ -I/project/superdarn/software/rst/include/base -I/project/superdarn/software/rst/include/general -I/project/superdarn/software/rst/include/superdarn -c fitacfclientgui.c    
mkdir -p /project/superdarn/software/rst/bin
cc -L/project/superdarn/software/rst/lib -o /project/superdarn/software/rst/bin/fitacfclientgui fitacfclientgui.o -Wl,-Bstatic \
                           -lfitcnx.1 -lfit.1 -lcfit.1 -lrscan.1 -lradar.1 -lcnx.1 -ldmap.1 -lopt.1 -lrtime.1 -lrcnv.1 -lncurses -ltinfo  -Wl,-Bdynamic \
                           -lz   
/bin/ld: cannot find -lncurses
/bin/ld: cannot find -ltinfo
collect2: error: ld returned 1 exit status
make: *** [fitacfclientgui] Error 1

I've confirmed that I have the following in /usr/lib64:

[superdarn@tuvalu lib64]$ lh *curses*
-rw-r--r--. 1 root root   32 Aug 15  2017 libncursesw.so
-rw-r--r--. 1 root root   31 Aug 15  2017 libncurses.so
-rw-r--r--. 1 root root   18 Aug 15  2017 libcursesw.so
-rw-r--r--. 1 root root   17 Aug 15  2017 libcurses.so
-rwxr-xr-x. 1 root root 230K Aug 15  2017 libncursesw.so.5.9
-rwxr-xr-x. 1 root root  77K Aug 15  2017 libncurses++w.so.5.9
-rwxr-xr-x. 1 root root  77K Aug 15  2017 libncurses++.so.5.9
-rwxr-xr-x. 1 root root 160K Aug 15  2017 libncurses.so.5.9
lrwxrwxrwx. 1 root root   19 Sep 18  2019 libncurses++.so.5 -> libncurses++.so.5.9
lrwxrwxrwx. 1 root root   20 Sep 18  2019 libncurses++w.so.5 -> libncurses++w.so.5.9
lrwxrwxrwx. 1 root root   17 Sep 18  2019 libncurses.so.5 -> libncurses.so.5.9
lrwxrwxrwx. 1 root root   18 Sep 18  2019 libncursesw.so.5 -> libncursesw.so.5.9
lrwxrwxrwx. 1 root root   17 Sep 18  2019 libncurses++.so -> libncurses++.so.5
lrwxrwxrwx. 1 root root   18 Sep 18  2019 libncurses++w.so -> libncurses++w.so.5
...
[superdarn@tuvalu lib64]$ lh *tinfo*
-rwxr-xr-x. 1 root root 171K Aug 15  2017 libtinfo.so.5.9
lrwxrwxrwx. 1 root root   15 Sep 18  2019 libtinfo.so.5 -> libtinfo.so.5.9
lrwxrwxrwx. 1 root root   13 Sep 18  2019 libtinfo.so -> libtinfo.so.5

and I've confirmed that /usr/lib64 is part of LD_LIBRARY_PATH.

JWiker commented 9 months ago

Same issue covered at the end of #588