This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Ron, > As you can see below, I've created two links. > ron@resolute:/usr/lib> ls -alt libcurses* > lrwxrwxrwx 1 root root 21 2006-01-18 08:04 libcurses.a -> > /usr/lib/libncurses.a > lrwxrwxrwx 1 root root 22 2006-01-18 08:04 libcurses.so -> > /usr/lib/libncurses.so > lrwxrwxrwx 1 root root 18 2005-10-05 08:35 libcurses.so.1 -> > libcurses.so.1.0.0 OK. On my FC4 x86_64 system these links were made during the OS installation. > I'm still getting a linker error with curses. > > ./mccomp -O -s -g77 -o mctext mct.o mct_ebuf.o mct_obuf.o mct_sbuf.o > mct_win.o mct_winc.o mct_winx.o mcterm.o -L. -L/usr/X11R6/lib64 -lmcidas > -lXt -lX11 -lcurses > mccomp: Using default optimizations > g77 -s -O -o mctext mct.o mct_ebuf.o mct_obuf.o mct_sbuf.o mct_win.o > mct_winc.o mct_winx.o mcterm.o -L. -L/usr/X11R6/lib64 -L/usr/X11R6/lib > -lmcidas -lXt -lX11 -lcurses -ldl -lm > /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: > skipping incompatible /usr/lib/libcurses.so when searching for -lcurses The error is slightly different this time. Notice the comment: "skipping incompatible /usr/lib/libcurses.so when searching for -lcurses" > /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: > skipping incompatible /usr/lib/libcurses.a when searching for -lcurses > /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: > cannot find -lcurses > collect2: ld returned 1 exit status > link mctext: FAILED > > Suggestion? I think that the curses library needs to be reinstalled. RedHat and FC distributions of Linux use RPM. I am not sure what SuSE uses, but you need to do the reinstall of curses before mctext will be able to link. > Thanks, Please let me know what happens after you reinstall the curses library. Thanks! Cheers, Tom **************************************************************************** Unidata User Support UCAR Unidata Program (303) 497-8642 P.O. Box 3000 address@hidden Boulder, CO 80307 ---------------------------------------------------------------------------- Unidata HomePage http://www.unidata.ucar.edu **************************************************************************** Ticket Details =================== Ticket ID: JAX-852168 Department: Support McIDAS Priority: Normal Status: Open