configure: error: Not found mysqlclient library – zabbix

Establishing open-source is at all times a problem when libraries are wanted, no dependencies are put in on the server.

Generally it may be irritating.

I deployed Zabbix a couple of weeks in the past and received this error.

checking for libperfstat 5.2.0.40 fileset...
no checking for libperfstat 5.3.0.60 fileset...
no checking for structure...
linux (linux-gnu) checking for the linux kernel model... 2.6 household (2.6.32-358.el6.x86_64)
checking for mysql_config... no configure: error: MySQL library not discovered

Do you additionally get the identical error message?

I’ve spent a couple of hours determining find out how to repair this so I assumed I might share it with you.

I used the next configuration command.

./configure --with-mysql  --enable-server --enable-agent --enable-ipv6 --with-net-snmp --with-libcurl

Options

  • Set up the MySQL devel package deal
yum set up mysql-devel

In case you are utilizing RHEL/CentOS 8, you need to use DNF

dnf set up mysql-devel

If you cannot entry the web to obtain the above, you possibly can obtain and set up the under manually.

https://www.rpmfind.internet/linux/rpm2html/search.php?question=mysql-devel
http://rpm.pbone.internet/index.php3/stat/3/srodzaj/1/search/mysql-shared

Above hyperlink is for Linux (64bit), you might even see full particulars for various working methods/structure – http://dev.mysql.com/downloads/mysql/#downloads

Reconfigure and you ought to be tremendous.

Should you’re concerned with studying Zabbix, take a look at this Udemy course.

Rate this post
porno izle altyazılı porno porno