Hey folks,
I am trying to build ocaml-caqti to run the examples. When I run dune build
I get an error for mariadb
.
When I run opam install mariadb
i get the following output:
~/git/ocaml-caqti master
β― opam install mariadb
The following actions will be performed:
β install mariadb 1.1.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><> π«
β¬ retrieved mariadb.1.1.4 (cached)
[ERROR] The compilation of mariadb.1.1.4 failed at "./configure
--prefix=/Users/zish/.opam/4.12.1".
#=== ERROR while compiling mariadb.1.1.4 ======================================#
# context 2.1.2 | macos/arm64 | ocaml-base-compiler.4.12.1 | https://opam.ocaml.org#71d8d30e
# path ~/.opam/4.12.1/.opam-switch/build/mariadb.1.1.4
# command ~/.opam/opam-init/hooks/sandbox.sh build ./configure --prefix=/Users/zish/.opam/4.12.1
# exit-code 1
# env-file ~/.opam/log/mariadb-55095-0e674d.env
# output-file ~/.opam/log/mariadb-55095-0e674d.out
### output ###
# Could not detect a MariaDB client library
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><> π«
ββ The following actions failed
β Ξ» build mariadb 1.1.4
ββ
βΆβ No changes have been performed
~/git/ocaml-caqti master β 31 10s
β― which mariadb
/opt/homebrew/bin/mariadb
~/git/ocaml-caqti ξΌ master ξ°
I have run opam update
and opam upgrade
. I have mariadb
installed via brew.
Any suggestions on resolving this error would be greatly appreciated. Thank you.