[debian-mysql] Bug#855244: Bug#855244: libmariadbclient-dev: hardcoded -lmysqlclient, package not providing it though

Michael Prokop mika at debian.org
Thu Mar 9 17:06:24 UTC 2017


* Otto Kekäläinen [Wed Mar 08, 2017 at 11:00:35PM +0200]:

> I am not sure what the actual problem here is. What are you trying to
> achieve which does not work? What is the name of the software that
> fails to compile with MariaDB, either using libmariadbclient-dev,
> libmariadbclient-dev-compat,  libmariadb-dev or libmariadb-dev-compat?

The software is not available within Debian, but that should not be
relevant as I've provided simple and clear steps to reproduce in my
initial bug report
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855244#5).

> To my knowledge all scenarios are covered, no matter if you develop
> new code against the MariaDB Connector or if you build existing MySQL
> linking stuff uisng the -compat packages, all options should work.

The problem is that if you install *just* libmariadbclient-dev (but
NOT default-libmysqlclient-dev + libmariadbclient-dev-compat) then
`pkg-config --libs mariadb` as well as `mysql_config --libs` return
invalid data (as present and hardcoded in
/usr/share/pkgconfig/mariadb.pc + /usr/bin/mysql_config), as stated
and demoed in my initial bug report.

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20170309/3cf36cf5/attachment.sig>


More information about the pkg-mysql-maint mailing list