Open JumpLink opened 2 years ago
I have same issue
can confirm
it's not an issue with libpq
but rather an issue with pg_config
returning a non-existing path:
% pg_config --ldflags
-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/.package_note-libpq-14.1-2.fc36.x86_64.ld -Wl,--as-needed
I've encounter the same issue, but fixed using the following steps:
sudo dnf install -y gcc-c++ make
sudo dnf install postgresql-server-devel-14.3-2.fc36.x86_66
sudo dnf install redhat-rpm-config
Proceed with yarn
/ npm install
libpq version: 14.1-2.fc36
Error message: