When I installed ZABBIX with source code, there was an error in the compilation phase:

```
checking for main in -lmysqlclient... no
configure: error: Not found mysqlclient library

```

system ubuntu18.04

mysql version 5.7.28

Here are my ZABBIX compilation settings:

```
./configure \
--prefix=/home/ttg/application/zabbix-4.4 \
--enable-server \
--enable-proxy \
--enable-agent \
--enable-java \
--enable-ipv6 \
--with-mysql=/usr/bin/mysql_config \
--with-net-snmp \
--with-openipmi \
--with-zlib \
--with-libpthread \
--with-libevent \
--with-ldap \
--with-libpcre \
--with-iconv \
--with-libxml2 \
--with-libcurl \
--with-libiksemel \
--with-libssh2 \
--with-mbedtls \
--with-jabber \
--with-unixodbc \
--with-ping

```

According to the solution on the network, I tested many times, but still showed the same error, such as the following method:

```
sudo apt-get install -y mysql-devel

```

perhaps

```
sudo apt-get install -y libmysqlclient-dev

```

None of these methods can solve this problem. Please help me. Thank you very much