报错1:checking for mysql_config... configure: error: MySQL library not found

解决办法:查找mysql_config

    #find / -name "mysql_config*"

    /usr/local/mysql/bin/mysql_config

在配置时将原有的 --with-mysql 改为  --with-mysql=/usr/local/mysql/bin/mysql_config

常规报错及解决办法:

configure: error: Not found mysqlclient library      #yum -y install mysql-develconfigure: error: LIBXML2 library not found           #yum -y install libxml2-develconfigure: error: unixODBC library not found        # yum -y install unixODBC-develconfigure: error: Invalid Net-SNMP directory - unable to find net-snmp-config #yum -y install net-snmp-develconfigure: error: Invalid OPENIPMI directory - unable to find ipmiif.h #yum -y install OpenIPMI-develconfigure: error: Curl library not found            #yum -y install curl-devel

报错:checking for SSH2 support... no
configure: error: SSH2 library not found

解决:yum -y install libssh2-devel

报错:checking for LDAP support... no
configure: error: Invalid LDAP directory - unable to find ldap.h

解决:yum -y install openldap openldap-devel

报错:/usr/local/zabbix/missing: line 81: aclocal-1.14: command not found

进入对应的/usr/local/zabbix目录执行:

  autoreconf -vfi

如果PHP是7以上的版本,进入页面可能会出现报错:A non well formed numeric value encountered [zabbix.php:21 → require_once() → ZBase->run() → ZBase->

解决办法:找到对应的路径执行

sed -i '/$last = strtolower(substr($val, -1));/a$val = substr($val,0,-1);' /home/www/zabbix/include/func.inc.php  #注意路径

转载于:https://www.cnblogs.com/new-journey/p/10557373.html

源码安装zabbix遇到的报错集锦相关推荐

  1. Tensorflow 源码安装成功,导入报错 ImportError: cannot import name 'build_info'

    ImportError: cannot import name 'build_info' ImportError: Could not import tensorflow. Do not import ...

  2. 【已解决】ubuntu 16.04 源码编译opencv4.5.1 报错 “../../lib/libopencv_imgcodecs.so.4.5.0: undefined reference t”

    源码编译opencv可参考教程:在ubuntu下安装opencv4.1.0详细步骤https://blog.csdn.net/weixin_44003563/article/details/90404 ...

  3. 源码安装的Apache启动时报错:“Could not reliably determine the server‘s fully qualified domain name”

    源码包安装时总是会遇到各种各样的报错,作为我这种新手小白来说,很是头疼. 解决:报错的问题因人而异,不一定每一个报错处理方案都一样,还是要分析自己安装时的步骤预配置 (1)进入Apache的安装目录, ...

  4. 1 源码安装Zabbix agent 3.4

    1.创建zabbix用户和组 # groupadd zabbix # useradd -g zabbix zabbix -s /sbin/nologin 2.安装支持的类库 # yum -y inst ...

  5. 以源码运行nacos2.0.3报错

    加入nacos模块的源码运行时,报错: No enum constant com.fasterxml.jackson.annotation.JsonTypeInfo.Id.DEDUCTION: nac ...

  6. CentOS 7 源码安装Zabbix 5.0 LTS

    Zabbix监控系统的Web采用PHP编写而成,需要安装PHP动态解析组件,并用PHP操作数据库.httpd与PHP的交互式通过php-fpm完成的,需要在httpd服务的配置文件中开启FastCGI ...

  7. aspose条件格式无法读取_分析 Pandas 源码,解决读取 Excel 报错问题

    问题描述 使用 Pandas 的 read_excel 方法读取一个 16 万行的 Excel 文件报 AssertionError 错误: "/Users/XXX/excel_test/v ...

  8. thinkphp源码没问题却各种报错,Namespace declaration statement has to be the very first statement in the script

    你用的FileZilla 操作代码?,是不是直接在fileZilla查看/编辑??恭喜你,找到解决的方法了 操作代码时将代码文件下载,用editplus或者其他文本编辑器,编辑完后直接上传,要修改再下 ...

  9. php+mysql案例含源码_【专注】Zabbix源码安装教程—步骤详解(1)安装前准备

    一.实验环境准备 Rhel 7.6 x86_64(server) 192.168.163.72 Rhel 6.5 x86_64(agent) 192.168.163.61 均已配置操作安装光盘为YUM ...

最新文章

  1. 站在巨人的肩膀上,Adrian与dlib中face_recongnition模块的贡献者Adam的采访部分翻译
  2. 安装sqoop1.4.6-cdh5.5.2
  3. 明天即将开工,把今年的Flag加到头像上,时刻鞭策自己吧!
  4. Java并发机制深究1-synchronized和volatile
  5. 如何用html绘制阴影图形,HTML5 给图形绘制阴影
  6. C++设计模式-Facade模式
  7. CanFestival移植到STM32F103
  8. oracle -00257
  9. 很遗憾,该服务器不支持 jmail 组件!,jmail组件注册以及权限设置问题
  10. 【2018将成为AGI元年】13名专家盘点2017最重要AI事件,预测AGI将取代AI
  11. spring security3 使用自定义MD5或者其他加密规则
  12. 小学老师计算机高级培训感言,教师培训感言一句话
  13. 桌面快捷方式小箭头去除与恢复方法
  14. python的spider程序下载安装_Python3WebSpider
  15. 阿里天池—2022江苏气象预测AI算法挑战赛
  16. linux 单网卡绑定两个ip
  17. 55-经典问题分析四
  18. 上「贼船」跟船长深度交流
  19. 改造开源刻录软件InfraRecorde
  20. 按现在的政策灵活就业人员,还有没有必要每年自己缴纳养老保险?

热门文章

  1. 《七步掌握业务分析》读书笔记六
  2. mysql 组合索引
  3. 使用Python重命名MP3标签
  4. [原]Threads vs Processes in Linux 分析
  5. python数据结构与算法
  6. MapReduce Input Split 输入分/切片
  7. Google 最新的 Fuchsia OS【科技讯息摘要】
  8. 码农和程序员的几个重要区别!
  9. Asix下日志包冲突
  10. sql server常用函数、常用语句