As the title says, the library
libpq.so
is not in the path given by
pg_config --libdir
. I install
postgresql posqtgresql-devel
which provides the package libpq5 which in turn installs the libpq.so.
$ pg_config --libdir
/usr/lib/postgresql10/lib64
$ find /usr/ -name libpq.so
/usr/lib64/libpq.so
Our applications rely on the path given by
pg_config --libdir
to look for libpq.so but it fails. Is this some problem with OpenSUSE package management or is it that we shouldn’t be using pg_config for this purpose?