日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷解決方案
解決CentOS6.5部署Zabbix2.2.6中configure(編譯)錯(cuò)誤

Zabbix(音同 zbix)是一個(gè)基于WEB界面的提供分布式系統(tǒng)監(jiān)視以及網(wǎng)絡(luò)監(jiān)視功能的企業(yè)級(jí)的開源解決方案。

Zabbix能監(jiān)視各種網(wǎng)絡(luò)參數(shù),保證服務(wù)器系統(tǒng)的安全運(yùn)營(yíng);并提供靈活的通知機(jī)制以讓系統(tǒng)管理員快速定位/解決存在的各種問題。

編譯過程中報(bào)錯(cuò)和解決

1.configure: error: Not found mysqlclient library

[root@it3246 zabbix-2.2.6]# ./configure -prefix=/usr/local/zabbix/ -enable-server -enable-proxy -enable-agent -with-mysql -with-net-snmp -with-libcurl

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

……

……

checking size of void *... 8

checking for mysql_config... /usr/bin/mysql_config

checking for main in -lmysqlclient... no

configure: error: Not found mysqlclient library

[root@it3246 zabbix-2.2.6]# cd /usr/lib64/mysql/                 
[root@it3246 mysql]# ls
libmysqlclient_r.so.16      libmysqlclient.so.16      mysqlbug      plugin
libmysqlclient_r.so.16.0.0  libmysqlclient.so.16.0.0  mysql_config
[root@it3246 mysql]# ln -s libmysqlclient.so.16.0.0 libmysqlclient.so
[root@it3246 mysql]# ln -s libmysqlclient_r.so.16.0.0 libmysqlclient_r.so

此處進(jìn)入庫(kù)文件。/usr/lib 或者/usr/lib64 (64位系統(tǒng))

2.configure: error: Invalid Net-SNMP directory - unable to find net-snmp-config

……

checking for multirow insert statements... yes

checking for pkg-config... /usr/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking for net-snmp-config... no

configure: error: Invalid Net-SNMP directory - unable to find net-snmp-config

[root@it3246 zabbix-2.2.6]# yum install net-snmp-devel

3.configure: error: Curl library not found

……

checking for main in -lnetsnmp... yes

checking for localname in struct snmp_session... yes

checking for gawk... (cached) gawk

checking for curl-config... no

configure: error: Curl library not found

[root@it3246 zabbix-2.2.6]# yum install curl-devel

Loaded plugins: fastestmirror, security

Loading mirror speeds from cached hostfile

 * base: mirror.bit.edu.cn

 * extras: mirror.lzu.edu.cn

 * updates: ftp.sjtu.edu.cn

4.再次編譯出現(xiàn)如下

[root@it3246 zabbix-2.2.6]# ./configure -prefix=/usr/local/zabbix/ -enable-server -enable-proxy -enable-agent -with-mysql -with-net-snmp -with-libcurl

***********************************************************

*            Now run 'make install'                      *

*                                                        *

*            Thank you for using Zabbix!                  *

*                                  *

***********************************************************

編譯成功


本文標(biāo)題:解決CentOS6.5部署Zabbix2.2.6中configure(編譯)錯(cuò)誤
新聞來源:http://www.5511xx.com/article/dhhidjs.html