[英]Ganglia installations fails in centos7 (rrd_create in -lrrd… no)
當我嘗試在centos7中安裝神經節時,出現以下錯誤
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-跟蹤--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 /共享/信息--with-gmetad-啟用狀態--sysconfdir = / etc / ganglia
回答:
在查看config.log文件時,我們看到
/usr/lib64/libEGL.so.1: undefined reference to `drmFreeDevice'
libEGL.so的符號不可用。 因此沒有更新,解決了這個問題。
sudo yum -y update-修復了問題
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.