rust-actix-example icon indicating copy to clipboard operation
rust-actix-example copied to clipboard

Add guide for system dependency for bootstrap

Open Piping opened this issue 4 years ago • 3 comments

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?

Piping avatar Feb 27 '20 22:02 Piping

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.

ddimaria avatar Feb 28 '20 12:02 ddimaria

I fixed this by

sudo apt install libsqlite3-dev

flyq avatar Apr 08 '20 02:04 flyq

@flyq Thanks.

Piping avatar Apr 11 '20 22:04 Piping