首页 > 数据库 >zabbix4.x安装出现“configure: error: Not found mysqlclient library”的解决办法

zabbix4.x安装出现“configure: error: Not found mysqlclient library”的解决办法

时间:2023-11-02 22:55:45浏览次数:45  
标签:configure -- error mysqlclient library devel mysql

一、zabbix3.x安装出现“configure: error: Not found mysqlclient library”的解决办法

1、编译安装zabbix-server出现

编译时加参数:--with-mysql

在编译时,可能会出现题目中所示的错误,可以通过安装mysql-devel这个库解决:

yum install mysql-devel -y


注:如果出现“configure: error : Not found NET-SNMP library”,那么可以安装“net-snmp-devel”来解决:

yum install net-snmp-devel -y

二、编译安装zabbix 3.x 报错误提示 error: MySQL library not found

./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql=/usr/bin/mysql_config_editor --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2

原因:这种情况有可能是编译选项路径不对或者错误,也可直接用默认参数:--with-mysql ,但要让得安装 mysql-devel 连接数据库的库。

yum install mysql-devel -y

标签:configure,--,error,mysqlclient,library,devel,mysql
From: https://www.cnblogs.com/A121/p/17806581.html

相关文章

  • nvidia-smi Failed to initialize NVML: Driver/library version mismatch
    nvidia-smiFailedtoinitializeNVML:Driver/libraryversionmismatch原因:NVIDIA内核驱动版本与系统驱动不一致, #sudormmodnvidiarmmod:ERROR:Modulenvidiaisinuseby:nvidia_modesetnvidia_uvm首先要知道现在kernelmod的依赖情况,首先我们从错误信息中知道,nvidi......
  • Your shell has not been properly configured to use 'conda activate'.
     #./condaactivatepy38CommandNotFoundError:Yourshellhasnotbeenproperlyconfiguredtouse'condaactivate'.Toinitializeyourshell,run   $condainit<SHELL_NAME>Currentlysupportedshellsare: -bash -fish -tcsh -xonsh -......
  • configure.ac语法规则
    AC_CONFIG_FILES所有的Makefile.ac文件必须在AC_CONFIG_FILES中指定AC_CONFIG_FILES([ lib/Makefile lib/aaa/Makefile lib/bbb/Makefile lib/ccc/Makefile web/Makefile tools/Makefile tools/ddd/Makefile tools/eee/Makefile tools/fff/Makefile Makefile ])如......
  • 大量找书网站,包括可访问的Zlibrary
    再次分享大量找书网站,包括可访问的Zlibrary-『福利经验』-吾爱破解-LCG-LSG|安卓破解|病毒分析|www.52pojie.cn Zlibraryzlibrary-east.se世界上最大的免费在线图书馆搜书网soushu.vip一个提供搜索和下载国内外精品书源的搜书平台熊猫搜书xmsoushu.com一站式读书学习......
  • pgsql create table,cpp fill psql table via the third party library pqxx
    //createtablet1;createtablet1(idbigserialnotnullprimarykey,authorvarchar(40)notnull,commentvarchar(40)notnull,contentvarchar(40)notnull,headervarchar(40)notnull,isbnvarchar(40)notnull,objectvarchar(40)notnull,summaryvarchar(40......
  • dpkg: error processing package *** (--configure)错误解决办法
    问题记录dpkg:errorprocessingpackage***(--configure)错误解决办法https://blog.csdn.net/dou3516/article/details/1051202211.sudomv/var/lib/dpkg/info//var/lib/dpkg/info_old/2.sudomkdir/var/lib/dpkg/info/3.sudoaptupdate......
  • ACS系列(6) ACS QT版SPiiPlusClibraryDemo
    工程文件QT+=coreguigreaterThan(QT_MAJOR_VERSION,4):QT+=widgetsCONFIG+=c++17#YoucanmakeyourcodefailtocompileifitusesdeprecatedAPIs.#Inordertodoso,uncommentthefollowingline.#DEFINES+=QT_DISABLE_DEPRECATED_BEFORE=0x......
  • [914] In Python's datetime library, you can format dates using the strftime() me
    InPython'sdatetimelibrary,youcanformatdatesusingthestrftime()method.Thismethodallowsyoutocreateaformattedstringrepresentationofadatetimeobject,specifyingtheformatyouwant.Here'showyoucanformatadateusingstrft......
  • 解决gyp verb ensuring that file exists: C:Python27python.exe gyp ERR! configure
    解决"gypverbensuringthatfileexists:C:\Python27\python.exegypERR!configureerrorgypERR!sta"错误一些开发者在使用Node.js模块时,可能会遇到类似于"gypverbensuringthatfileexists:C:\Python27\python.exegypERR!configureerrorgypERR!sta"......
  • linux安装myql-server及libmysqlclient
    1.去官网下载对应的仓库源https://dev.mysql.com/downloads/下面以centos8为例#仓库下载直链为https://dev.mysql.get/{具体的仓库名}wgethttps://dev.mysql.com/get/mysql80-community-release-el8-8.noarch.rpmyuminstall./mysql80-community-release-el8-8.noarch.r......