Red Hat Bugzilla – Bug 1467652
mariadb library upgrade to 10.2 causes ocaml-mysql FTBFS
Last modified: 2017-07-20 08:00:10 EDT
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'
configure: error: MySQL client library not found
There is a discrepancy between mysql_config and mariadb_config, more information here:
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:
Upstream fix is:
I'll apply this to the Rawhide package and hopefully it will fix things ...
Well it compiled:
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:
> 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:
I think that we can close this bug, right?
I think so.