Closed bruce-ricard closed 7 years ago
It means libmysqlclient C library development headers are not installed.
Use opam depext conf-mysql
or install it manually (mysql-connector-c
on osx, libmysqlclient-dev
in debian, etc)
Thank you, that worked. Wouldn't it be possible to add this dependency to opam so that it does it automatically?
It is already.
$ opam show -f depends mysql.1.2.1
ocamlfind & conf-mysql
$ opam show --raw conf-mysql
[..]
depexts: [
[["centos"] ["mysql-devel"]]
[["debian"] ["libmysqlclient-dev"]]
[["homebrew" "osx"] ["mysql-connector-c"]]
[["ubuntu"] ["libmysqlclient-dev"]]
]
when install failed opam should have proposed to check missing external dependencies
Hello,
I tried to install the library through opam, but it didn't work and got me this message back:
opam install mysql
I'm not sure what it means by "MySQL client library not found".