[postgis-users] RHEL-8 configure: error: could not find libpq

Jan Peters haseningo at gmx.de
Mon Jul 19 04:53:39 PDT 2021


Hello,

I would like to compile postgis under RedHat 8 Enterprise. Unfortunately the current configure fails with the following error message:

checking for PQserverVersion in -lpq.... no
configure: error: could not find libpq

I have already installed the following packages

rpm -qa | grep libpq
libpq-devel-12.5-1.el8_3.s390x
libpq-12.5-1.el8_3.s390x

rpm -qa | grep postgresql
postgresql-server-12.5-1.module+el8.3.0+9042+664538f4.s390x
postgresql-12.5-1.module+el8.3.0+9042+664538f4.s390x
postgresql-server-devel-12.5-1.module+el8.3.0+9042+664538f4.s390x
postgresql-static-12.5-1.module+el8.3.0+9042+664538f4.s390x

 ls -alh /usr/lib64/libpq.so*
lrwxrwxrwx 1 root root 13 Dec 1 2020 /usr/lib64/libpq.so -> libpq.so.5.12*
lrwxrwx 1 root root 13 Dec 1 2020 /usr/lib64/libpq.so.5 -> libpq.so.5.12*
-rwxr-xr-x 1 root root 341K Dec 1 2020 /usr/lib64/libpq.so.5.12*



Can you guys help me with this problem?


Best Regards

Jan


More information about the postgis-users mailing list