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 upTutorial roadblock: "Getting Started" PostgreSQL library linking fails on Windows when doing `cargo install diesel_cli --no-default-features postgres` #1883
Comments
This comment has been minimized.
|
Feel free to submit a PR to https://github.com/sgrif/diesel.rs-website extending the note section there to directly list which native dependencies are required for which backends. |
This comment has been minimized.
top1st
commented
Nov 8, 2018
|
copy C:/PostgreSQL/pg10/lib/libpq.dll & libpq.a to $(HOME)/.rustup/toolchains/[stable--msvc,gun]/lib/rustlib/x86/64-pc-windows.../lib next compile works |
This comment has been minimized.
top1st
commented
Nov 8, 2018
|
Here is one issue diesel migration run not works well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
VermillionAzure commentedOct 14, 2018
•
edited
Setup
Versions
rustc 1.30.0-nightly (cb6d2dfa8 2018-09-16)diesel_clipostgresWindows 10Feature Flags
postgresProblem Description
The tutorial is not "smooth" once the user hits this roadblock. Quick Google searches result in not being able to find how to extend the path for
cargo installeasily. A reasonable person at a beginner level will be stumped, scaring people off of Diesel's tutorial.Note: adding the
bindirectory underPostgreSQLinProgram Filesto my path caused the installation to succeed. Perhaps adding this information to the tutorial might be useful.What are you trying to accomplish?
Perform installation steps according to the tutorial here: http://diesel.rs/guides/getting-started/
What is the expected output?
Installing the package.
What is the actual output?
Are you seeing any additional errors?
No.
Steps to reproduce
Checklist
closed if this is not the case)