Re: dependency errors instaling postgis2

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: dependency errors instaling postgis2
Date: 2015-01-20 13:10:29
Message-ID: CAJKUy5h0mbLdxVVqYjk6HMqXgOxqq_gvuLavz+cZaqbhaiWidA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

On Tue, Jan 20, 2015 at 7:07 AM, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:
>
> Hi Jaime,
>
> On Mon, 2015-01-19 at 16:52 -0500, Jaime Casanova wrote:
>
>> I'm using pgdg-redhat92-9.2-7 (the repo for 64 bits redhat6).
>>
>> I can install postgres92 succesfuly, and resolve some dependency
>> issues while installing postgis2_92 with the epel repo (installing
>> hdf5-devel and json-c-devel).
>>
>> But can't resolve the last dependency errors:
>> """
>> Error: Package: gdal-libs-1.9.2-5.rhel6.x86_64 (pgdg92)
>> Requires: libz.so.1(ZLIB_1.2.0)(64bit)
>> Error: Package: gdal-libs-1.9.2-5.rhel6.x86_64 (pgdg92)
>> Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)
>> """
>>
>> Now, these errors are strange because it's asking for zlib and libjpeg
>> and both are installed, as you can see in the attached
>
> I hate to say this, but could not duplicate this issue after setting up
> a clean -CentOS- 6.6 VM. Here are the steps I did:
>

Hi,

Thanks for lookin at this. I have access to a pre-production RHEL 6
with a subscription enabled, let me know if there is something i could
look at to help you understand this.

for now i was looking at the git repo in
"rpm/redhat/9.2/gdal/EL-6/gdal.spec" which is the problematic package,
and found this in it:
"""
# Unpack tests to the same directory
%setup -q -D -a 1 -n %{name}-%{version}-fedora

# Delete bundled libraries
rm -rf frmts/zlib
rm -rf frmts/png/libpng
rm -rf frmts/gif/giflib
rm -rf frmts/jpeg/libjpeg \
frmts/jpeg/libjpeg12
rm -rf frmts/gtiff/libgeotiff \
frmts/gtiff/libtiff
#rm -r frmts/grib/degrib18/g2clib-1.0.4
"""

not sure if that has anything to do but at least it mention the
packages it can't found

--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566 Cell: +593 987171157

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2015-01-20 17:52:44 Re: dependency errors instaling postgis2
Previous Message Devrim Gündüz 2015-01-20 12:07:17 Re: dependency errors instaling postgis2