Reputation: 163
il" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" = note: /usr/bin/ld: cannot find -lpq collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: could not compile actix-todo
.
To learn more, run the command again with --verbose.
Upvotes: 5
Views: 2786
Reputation: 1495
For me I needed to install libpq-dev
. You can install it on linux like this:
sudo apt install libpq-dev
Upvotes: 2
Reputation: 163
It looks like you are missing the postgresql-libs
package. Install it using your systems package manager.
Upvotes: 4