New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't enable postgres support #1657
Comments
In GDAL 3.0, --with-pg supported values are only yes/no. You need to install the postgresql client lib, and pkg-config ( |
I've installed |
libpq is the postgresql client library that GDAL needs to link against. I'd expect it to be provided by a package named "postgresql-devel" or something approaching (depends on from which repository you get your postgresql). Like https://rpmfind.net/linux/RPM/centos/7.6.1810/x86_64/Packages/postgresql-devel-9.2.24-1.el7_5.x86_64.html
If there is a /usr/pgsql-10/lib/pkgconfig/libpq.pc, you might also try
|
i was actually checking for I haven't run the
it say Thanks. |
I'm trying to install Gdal 3.0 in Centos 7 with:
for some reason if I run
./configure -with-pg=/usr/pgsql-10/bin/pg_config
it completely ignore the check for PostgreSQLcheck for PostgreSQL... NO
PostgreSQL support: NO
How can I enable the PostgreSQL support in Gdal 3.0?
The text was updated successfully, but these errors were encountered: