Debian package libpq-dev is required even when building with SQLite3 #305

Closed
opened 2018-11-04 23:23:06 +00:00 by link2xt · 1 comment
link2xt commented 2018-11-04 23:23:06 +00:00 (Migrated from github.com)

When trying to build cloned repository with

$ cargo build --no-default-features --features sqlite

I get the error

/usr/bin/ld: cannot find -lpq

Installing libpq-dev package helps, but according to docs/INSTALL.md it is not required and should not be.

Current commit is dca91945af

When trying to build cloned repository with ``` $ cargo build --no-default-features --features sqlite ``` I get the error ``` /usr/bin/ld: cannot find -lpq ``` Installing `libpq-dev` package helps, but according to `docs/INSTALL.md` it is not required and should not be. Current commit is dca91945aff3532ef940c5d58f40c39683a9fe3c

I can indeed reproduce. There are also xz-utils and pkg-config which are needed for compilation but not documented. I'll try to remove the need for libpq, and if I can't I'll add it as required in the documentation

I can indeed reproduce. There are also `xz-utils` and `pkg-config` which are needed for compilation but not documented. I'll try to remove the need for libpq, and if I can't I'll add it as required in the documentation
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Plume/Plume#305
No description provided.