[gdal-dev] Apparent problem with GDAL rpm (gdal-1.9.2-6.rhel6.i686)
Robert Inder
robert at interactive.co.uk
Fri Jun 12 06:04:14 PDT 2015
I fear my original subject line did not make the problem clear.
It looks like there is a problem with the 32-bit gdal RPM on the
pgdg94.repository (i.e. gdal-1.9.2-6.rhel6.i686).
Specifically, ogr2ogr cannot connect to a running postgres server, and
does not list PostgreSQL as one of the formats it supports
Whereas ogr2ogr from the corresponding 64-bit RPM on the same
repository can, and does.
This doesn't seem right. Especially for a package in a
Postgres-focused repository!
Does anyone know whether ogrogr in that RPM SHOULD have a PostgreSQL driver?
Can anyone confirm whether it actually DOES?
Robert.
On 11 June 2015 at 18:06, Robert Inder <robert at interactive.co.uk> wrote:
> I have PostgreSQL 9.4 running on a 64-bit Centos 6.4 machine, I have
> then used "yum" to install
> gdal.x86_64 1.9.2-6.rhel6
> gdal-devel.x86_64 1.9.2-6.rhel6
> gdal-java.x86_64 1.9.2-6.rhel6
> gdal-libs.x86_64 1.9.2-6.rhel6
> all from the pgdg94 repository. And when I do
> ogr2ogr --formats | grep "Post"
> I get
> -> "PostgreSQL" (read/write)
>
> I also a 32-bit Centos 6.4 machine, on which I have used to remove
> PostgreSQL 8.4 and install PostgreSQL 9.4. I have then used "yum" to
> install
> gdal.i686 1.9.2-6.rhel6
> gdal-devel.i686 1.9.2-6.rhel6
> gdal-java.i686 1.9.2-6.rhel6
> gdal-libs.i686 1.9.2-6.rhel6
> again all from the pgdg94 repository. But ogr2ogr is unable to
> connect to the database. When I do
> ogr2ogr --formats | grep "Post"
> I get nothing.
>
> It LOOKS like the 32-bit gdal packages from the pgdg94 repository do
> not have PostgreSQL drivers. Which makes no sense to me, given that I
> believe that the pgdg94 is maintained by the Postgres project.
>
> How do I track down what has gone wrong and fix it?
>
>
> Robert
>
> --
> Robert Inder, 0131 229 1052 / 07808 492 213
> Interactive Information Ltd, 3, Lauriston Gardens, Edinburgh EH3 9HH
> Registered in Scotland, Company no. SC 150689
> Interactions speak louder than words
--
Robert Inder, 0131 229 1052 / 07808 492 213
Interactive Information Ltd, 3, Lauriston Gardens, Edinburgh EH3 9HH
Registered in Scotland, Company no. SC 150689
Interactions speak louder than words
More information about the gdal-dev
mailing list