当我尝试在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命令: ./configure LDFLAGS =&#34; -L / usr / lib64&#34; --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 --dadadir = / 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 /神经节
答案:
在查看config.log文件时,我们看到了
/usr/lib64/libEGL.so.1: undefined reference to `drmFreeDevice'
libEGL.so的符号不可用。因此确实修正了问题。
答案 0 :(得分:0)
sudo yum -y update - 修正了问题