Skip to content

Commit

Permalink
Add libmysqlclient dependency solution for Debian (#847)
Browse files Browse the repository at this point in the history
On Debian, there is not libmysqlclient available since Stretch. Debian has fully migrated to MariaDB as replacement. There is a libmariadb-dev package, which ships libmariadbclient.so, but this is currently not accepted by the migrations_macros build. A simple solution is the available compat package: https://packages.debian.org/libmariadb-dev-compat

Signed-off-by: MichaIng <[email protected]>
  • Loading branch information
MichaIng authored Oct 5, 2020
1 parent 9a80145 commit 213eac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Mozilla Sync Storage built with [Rust](https://rust-lang.org).
- pkg-config
- [Rust stable](https://rustup.rs)
- MySQL 5.7 (or compatible)
* libmysqlclient (`brew install mysql` on macOS, `apt install libmysqlclient-dev` on Ubuntu)
* libmysqlclient (`brew install mysql` on macOS, `apt install libmysqlclient-dev` on Ubuntu, `apt install libmariadb-dev-compat` on Debian)

Depending on your OS, you may also need to install `libgrpcdev`,
and `protobuf-compiler-grpc`. *Note*: if the code complies cleanly,
Expand Down

0 comments on commit 213eac3

Please sign in to comment.