Closed idkjs closed 2 years ago
# Could not detect a MariaDB client library
ocaml-mariadb doesn't use pkg-config (probably should), so solution is the same as for all such bindings - make sure C compiler can find mariadb includes and libraries. On Linux it means setting/extending C_INCLUDE_PATH and LD_LIBRARY_PATH to point at appropriate directories, on mac it is C_INCLUDE_PATH and LIBRARY_PATH.
I am trying to install mariadb on mac and get the following error:
I have run
opam update
andopam upgrade
. I havemariadb
installed via brew.Any suggestions on resolving this error would be greatly appreciated. Thank you.
UPDATE
I had been meaning to factory reset my machine so I went ahead and did that to erase the possibility that I had some config that was interfering. I get the same error:
Thanks