Trying to build ocaml-mysql with the new version of MariaDB 10.2 causes an error in the configure script: checking for mysql_real_connect in -lmysqlclient... mysql_config: unrecognized option '--variable=pkglibdir' no configure: error: MySQL client library not found There is a discrepancy between mysql_config and mariadb_config, more information here: https://jira.mariadb.org/browse/MDEV-12938 We are tracking all the possible problems regarding this MariaDB upgrade in the bug 1467297. Copr build: https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/package/ocaml-mysql/
Thanks, I have opened an upstream bug: https://github.com/ygrek/ocaml-mysql/issues/11
Upstream fix is: https://github.com/ygrek/ocaml-mysql/commit/60eada32c875c8442c39fb51de533924c15f6e93 I'll apply this to the Rawhide package and hopefully it will fix things ...
Well it compiled: https://koji.fedoraproject.org/koji/taskinfo?taskID=20339828 However as this was compiled against MariaDB 10.1.24, I'm guessing you need to do something so I will leave this bug open.
(In reply to Richard W.M. Jones from comment #3) > Well it compiled: > > https://koji.fedoraproject.org/koji/taskinfo?taskID=20339828 > > However as this was compiled against MariaDB 10.1.24, I'm guessing > you need to do something so I will leave this bug open. I've tested the build against MariaDB 10.2 and it succeed: https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/build/577427/ Thanks!
I think that we can close this bug, right?
I think so.