Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign uperror: Could not compile `mysqlclient-sys`. #1286
Comments
This comment has been minimized.
|
Try setting |
weiznich
added
the
mysql
label
Nov 7, 2017
This comment has been minimized.
forbjok
commented
Dec 3, 2017
•
|
I'm having the same issue on Windows 10 x64. UPDATE: However, it's possible to disable building the MySQL support by specifing "--no-default-features --features postgres" on the cargo commandline, so if you aren't using MySQL that would solve this particular issue. Now I'm getting a linking error on libpq.lib instead. (presumably unrelated to this issue) UPDATE 2: |
This comment has been minimized.
|
We call this out explicitly in the getting started guide |
sgrif
closed this
Dec 3, 2017
This comment has been minimized.
eastuto
commented
Mar 2, 2018
|
for anyone wanting to actually use MySQL and who is having issues running cargo install, just to clarify adding the location of E.g.
|
This comment has been minimized.
sbwtw
commented
Sep 27, 2018
|
Tips: |

ziselive commentedOct 31, 2017
cargo install diesel_cli, error:
error: could not find native static library
mysqlclient, maybe an -L flag is missing?error: Could not compile
mysqlclient-sys.……………………
mysql version 5.7
win7 x64
rust 1.22.0-nightly