安装ganglia
# gmond -t | tee /usr/local/etc/gmond.conf
gmond: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
解决方法
执行如下命令:
whereis libpcre.so.1
显示如下: libpcre.so: /lib64/libpcre.so.0 /usr/local/lib/libpcre.so.1 /usr/local/lib/libpcre.so
然后建立连接: ln -s /usr/local/lib/libpcre.so /lib64/libpcre.so.1
时间: 2024-10-08 09:17:56