brianc / node-libpq

Simple, low level native bindings to PostgreSQL's libpq from node.js
111 stars 41 forks source link

[FIX] `pg_config --ldflags` non-existant path #89

Closed crnch closed 1 year ago

crnch commented 1 year ago

In fedora (36), pg_config --ldflags returns a non-existant file, leading to a failed build.

Adapted the command to only include the flags for the linked libraries

N.B. I also tested building with the flags completely removed which also succeeded. The approach chosen here preserves more of the original intention.

Addressing https://github.com/brianc/node-libpq/issues/85

crnch commented 1 year ago

Issue has been resolved by installing postgresql-server-devel (see #85)