The output of uname on my MacOS. # uname -a Darwin Baos-Mac-Pro.local 13.0.0 Darwin Kernel Version 13.0.0: суббота, 9 ноября 2013 г. 02:42:04 (MSK); root:xnu-2422.1.72_by_bronya_sinetek_anv_rc7/BUILD/obj/RELEASE_X86_64 x86_64
Gcc version: # gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix
# gcc -print-file-name=libncurses.dylib libncurses.dylib # ls /usr/lib/libncurses.dylib /usr/lib/libncurses.dylib
The ld option -lncurses can link the right library.
Is this a bug on my MacOS. If it is, I will stop trying that?
Zheng