centos 6.4 64位系统,安装pcre错误:
grep: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory checking for grep that handles long lines and -e... configure: error: no acceptable grep could be found in /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/xpg4/bin
解决方案
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/pcre-7.8-6.el6.x86_64.rpm rpm -ivh pcre-7.8-6.el6.x86_64.rpm 上面的文件是适合我操作系统的(centos6 , 64位)。如果不适合你的系统,可以去这个网站http://pkgs.org/download/libpcre.so.0 下载适合的文件。
发表评论: