libpq.pc depends on "libssl" and "libcrypto" from openssl-devel. "pkg-config --exists libpq" exits with code 1 if openssl-devel is not present.