Re: Problem with GDAL package from gd

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Robert Inder <robert(at)interactive(dot)co(dot)uk>
Cc: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: Problem with GDAL package from gd
Date: 2015-06-17 10:18:44
Message-ID: 1434536324.12458.16.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum


Hi,

Sorry about that. I just pushed a new gdal update that supplies
PostgreSQL support:

# uname -m
i686
# cat /etc/redhat-release
Scientific Linux release 6.6 (Carbon)
# ogr2ogr --formats|grep -i post
-> "PostgreSQL" (read/write)

The new version is 1.9.2-7.

Regards, Devrim

On Fri, 2015-06-12 at 09:43 +0100, Robert Inder 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. 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
>
>

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Pierre-Alain TORET 2015-06-19 09:38:05 Availability of versions 9.4.1 and 9.4.2 for rhel6
Previous Message Devrim GÜNDÜZ 2015-06-17 08:16:36 Re: Inicio postgresql centos 5