ocaml-mysql
ocaml-mysql copied to clipboard
libmysqlclient-dev, libmariadb-dev
Hi, Thank you very much for this library. We have been using it for many years.
We were trying to move to reinstall the library in Ubuntu 20.04. We have libmysqlclient-dev installed. But during the installation of the ocaml-mysql library, we get the following message. If we install libmariadb-dev, then libmysqlclient-dev gets removed. Could you kindly help?
`#=== ERROR while compiling conf-mariadb.2 =====================================#
context 2.0.5 | linux/x86_64 | ocaml-base-compiler.4.04.2 | https://opam.ocaml.org#c24e66db
path /usr/lib/opam/4.04.2/.opam-switch/build/conf-mariadb.2
command /usr/lib/opam/opam-init/hooks/sandbox.sh build sh -exc pkg-config --exists libmariadb || pkg-config --exists mariadb
exit-code 1
env-file /usr/lib/opam/log/conf-mariadb-3414819-a2744c.env
output-file /usr/lib/opam/log/conf-mariadb-3414819-a2744c.out
output
+ pkg-config --exists libmariadb
+ pkg-config --exists mariadb
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ┌─ The following actions failed │ λ build conf-mariadb 2 └─ `
Thank you, Raman
Hi,
I found that the following patches were needed so that it will work with MySQL 8.0. These patches are from libmysql-ocaml debian package.