最近新装的虚拟机,centos6.6然后在上面编程的时候,发现man标准库函数没法完成解析,一直报错
[root@liu manpages-zh-1.5.1]# man strstr
Cannot open the message catalog "man" for locale "zh_CN.UTF-8"
(NLSPATH="/usr/share/locale/%l/LC_MESSAGES/%N")
No manual entry for strstr
最后发现是没有安装man-pages
解决方法 yum install man-pages
虽说挺简单的一个事,但是还是方便大家尽快查出问题解决问题。