Hi folks,
just step into another problem and don't know why?
If i try to configure dovecot with the following:
./configure --prefix=/test/core/dovecot --with-ssldir=/test/core/dovecot/tls --with-mysql
i get
... checking for auth_userokay... no checking for mysql_config... NO checking for mysql_init in -lmysqlclient... noconfigure: error: Can't build with MySQL support: libmysqlclient not found
After that i've tried to configure with following:
LDFLAGS="-L/test/core/mariadb/lib" ./configure --prefix=/test/core/dovecot --with-ssldir=/test/core/dovecot/tls --with-mysql
but with same result.
The Content of "/test/core/mariadb/lib" is:
libmariadbclient.a libmariadb.so -> libmariadb.so.3 libmariadb.so.3 libmysqlclient.a -> libmariadbclient.a libmysqlclient_r.a -> libmariadbclient.a libmysqlclient_r.so -> libmariadb.so.3 libmysqlclient.so -> libmariadb.so.3 libmysqlservices.a pkgconfigplugin
Also the Path "/test/core/mariadb/lib/pkgconfig" is in the PKG_CONFIG_PATH variable and the Library-Path "/test/core/mariadb/lib" is known by the dynamic linker (/etc/ld.so.conf.d/mylibs.conf).
So what am i doing wrong?
My Dovecot version: 2.3.18 My Mariadb version: 10.6.5 My OS: Ubuntu 20.04