Skip to content
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

Add guide for system dependency for bootstrap #2

Open
Piping opened this issue Feb 27, 2020 · 3 comments
Open

Add guide for system dependency for bootstrap #2

Piping opened this issue Feb 27, 2020 · 3 comments

Comments

@Piping
Copy link

Piping commented Feb 27, 2020

Hi,

I am trying out the example inside a relative new VM (ubuntu16.04).

The cargo test report a linker error at the end.

  = note: /usr/bin/x86_64-linux-gnu-ld: cannot find -lsqlite3
          /usr/bin/x86_64-linux-gnu-ld: cannot find -lpq
          /usr/bin/x86_64-linux-gnu-ld: cannot find -lmysqlclient
          collect2: error: ld returned 1 exit status

Is it possible to update the README to include some steps for a brand new linux VM setup?

@ddimaria
Copy link
Owner

Hi! Feel free to submit a PR for a more detailed README. I have a link to Diesel for error cases (http://diesel.rs/guides/getting-started/), but having that info in the README would be beneficial.

@flyq
Copy link

flyq commented Apr 8, 2020

I fixed this by

sudo apt install libsqlite3-dev

@Piping
Copy link
Author

Piping commented Apr 11, 2020

@flyq Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants