Problem with GDAL package from gd

From: Robert Inder <robert(at)interactive(dot)co(dot)uk>
To: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Problem with GDAL package from gd
Date: 2015-06-12 08:43:21
Message-ID: CAKqjJm85x869duU1Msgb=a-ZrpQKyBK7-EBOXrMtwc459ddFzw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

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. When I do
ogr2ogr --formats | grep "Post"
I get
-> "PostgreSQL" (read/write)
and I have various tests using ogr2ogr (from the gdal package) which work.

BUT

I also a 32-bit Centos 6.4 machine, on which I have used yum to remove
PostgreSQL 8.4 and then 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, and so my tests fail. When I do
ogr2ogr --formats | grep "Post"
I get nothing.

So it LOOKS like the 32-bit gdal rpms do not have PostgreSQL drivers.

Could that be right? For an rpm coming from the pgdg94 repository,
which is maintained by the Postgres project?

Is there another package that Yum or I should have installed?

Can you shed any light?

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

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message william.zamora 2015-06-12 22:30:19 Inicio postgresql centos 5
Previous Message Paolo Crosato 2015-06-11 16:21:36 Re: gdal missing support for postgresql on pgdg92 for centos6