Ad Widget

Collapse

"MySQL library not found" error.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yatta
    Member
    • Feb 2022
    • 82

    #1

    "MySQL library not found" error.

    Hi,
    My OS is Suse SLE 15 and I'm trying to install Zabbix.
    I installed all(I guess) necessary packages like below;

    Code:
    zabbixserver:/install/zabbix/# rpm -qa | grep zabbix
    zabbix-web-mysql-5.4.10-1.sles15.noarch
    zabbix-server-mysql-5.4.10-1.sles15.x86_64
    zabbix-proxy-mysql-5.4.10-1.sles15.x86_64
    zabbix-agent-5.4.10-1.sles15.x86_64
    zabbix-web-deps-5.4.10-1.sles15.noarch
    zabbix-apache-conf-5.4.10-1.sles15.noarch
    zabbix-web-5.4.10-1.sles15.noarch
    zabbix-sql-scripts-5.4.10-1.sles15.noarch
    Then I'm trying to install front end with the command below;

    Code:
    ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2 --with-openipmi
    After checking lots of things, it gives error for Mysql like below;

    Code:
    checking for libperfstat 5.3.0.60 fileset... no
    checking for architecture... linux (linux-gnu)
    checking for the linux kernel version... unknown family (5.3.18-59.24-default)
    checking size of void *... 8
    checking for mysql_config... no
    checking for mariadb_config... no
    configure: error: MySQL library not found
    zabbixserver:/install/zabbix/zabbix-5.4.10 #
    I followed the instructions one by one, not sure what causing this?

    Regards.
  • yatta
    Member
    • Feb 2022
    • 82

    #2
    I found it, needed to install mysql-devel packages.

    Comment

    Working...