Ad Widget

Collapse

configure zabbix error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kyoami
    Junior Member
    • Dec 2014
    • 2

    #1

    configure zabbix error

    I try to installation zabbix server in my machine and i got a error when i perform ./configure.The error massage is
    configure: error: MySQL library not found

    my compile command is:
    ./configure --enable-server --enable-proxy --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2 --prefix=/usr/local/zabbix/

    My server is already installation MySQL server using generic binaries.Then i try to set up with-mysql parameter,this time command is:
    ./configure --enable-server --enable-proxy --enable-agent --with-mysql=/usr/local/mysql/mysql-5.6.21 --with-net-snmp --with-libcurl --with-libxml2 --prefix=/usr/local/zabbix/

    Unfortunately,another error massage is happan:
    configure: error: Not found mysqlclient library

    Please help. Did i do anything wrong?
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    Also try installing mysql and mysql-devel package, then try your compile command.

    sudo yum install mysql
    sudo yum install mysql-devel

    Comment

    • kyoami
      Junior Member
      • Dec 2014
      • 2

      #3
      Originally posted by tchjts1
      Also try installing mysql and mysql-devel package, then try your compile command.

      sudo yum install mysql
      sudo yum install mysql-devel
      It is work, when i set --with-mysql=/usr/local/mysql/mysql-5.6.21/bin/mysql_config.

      Anyway, thanks for response

      Comment

      Working...