New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diesel_cli does not build #1592

Closed
gutsle opened this Issue Mar 11, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@gutsle

gutsle commented Mar 11, 2018

cargo install diesel_cli --verbose reports:

= note: /usr/bin/ld: cannot find -lpq
/usr/bin/ld: cannot find -lmysqlclient

@Eijebong

This comment has been minimized.

Member

Eijebong commented Mar 11, 2018

You either need to install libpq-dev, libmysqlclient-dev or tell cargo not to compile diesel with those two backends with cargo install diesel_cli --no-default-features --features sqlite.

(Packages names depend on your distribution, they might be different. I'm pretty sure those are right for debian)

@sgrif

This comment has been minimized.

Member

sgrif commented Mar 14, 2018

@sgrif sgrif closed this Mar 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment