centos - 在 centos 7 中安装 Ganglia 失败(rrd create in -rrd ... no)

标签 centos centos7 rrdtool rrd ganglia

当我尝试在 centos7 中安装 ganglia 时,出现以下错误

Configuring libmetrics ...

checking for pthread_create in -lpthread... yes
checking for pthread_create in -lpthreads... no
checking rrd.h usability... yes
checking rrd.h presence... yes
checking for rrd.h... yes
checking for rrd_create in -lrrd... no
Trying harder by including the X library path
checking for rrd_create in -lrrd... no

但我已经安装了 rrd 工具
rrdtool -v
RRDtool 1.4.8  Copyright 1997-2013 by Tobias Oetiker <tobi@oetiker.ch>
           Compiled Nov 20 2015 19:23:48

配置命令:
./configure LDFLAGS="-L/usr/lib64"--build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking -- prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-gmetad --enable-status --sysconfdir=/etc/ganglia

回答:

在查看 config.log 文件时,我们看到
/usr/lib64/libEGL.so.1: undefined reference to `drmFreeDevice'

libEGL.so 的符号不可用。因此进行了更新,解决了这个问题。

最佳答案

sudo yum -y update - 修复了问题

关于centos - 在 centos 7 中安装 Ganglia 失败(rrd create in -rrd ... no),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47085928/

相关文章:

node.js - 在 vagrant 上的 centos 上运行 Node.js 服务器

linux - 与包 filesystem-3.2 中的文件冲突

logging - Jboss 控制台中的更多详细信息?

active-directory - CentOS 7 SSSD 无法创建 GSSAPI 加密的 LDAP 连接

python - 如何使用 pip install 修复 'Command errored out with exit status 1'

linux - 如何查看RRD图数据

linux - 签署虚拟盒模块(vboxdrv、vboxnetflt、vboxnetadp、vboxpci)Centos 8

c++ - 连接到自身的 POSIX 套接字客户端

rrdtool - 什么是 RRD last_ds?

rrdtool 获取上周的平均值