问题描述
开发环境:CentOS 6.5 X86-64 编译代码提示 cannot find -ltermcap,应该是缺少 libtermcap.a 文件。
[root@localhost ~]# cat /etc/redhat-release
CentOS release 6.5 (Final)
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
编译错误提示:
/usr/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status