Re: Trouble installing PostGIS on Amazon Linux server

From: Augori <augori(at)gmail(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Trouble installing PostGIS on Amazon Linux server
Date: 2016-02-15 03:45:45
Message-ID: CAFE+72McjDLKJmRK=ZQDA8jbXjrPpi1Q6KzEuV+v+MbDZgN2bA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks, Devrim. It looks like epel is already installed:

rpm -ivh epel-release-6-8.noarch.rpm
warning: epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key
ID 0608b895: NOKEY
Preparing... #################################
[100%]
package epel-release-6-8.noarch is already installed

I tried installing with the enablerepo flag, but I got the same error.

# sudo yum install postgis2_93 --enablerepo=epel
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
epel/x86_64/metalink | 13 kB 00:00
955 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package postgis2_93.x86_64 0:2.1.8-1.rhel6 will be installed
--> Processing Dependency: postgis-client = 2.1.8-1.rhel6 for package:
postgis2_93-2.1.8-1.rhel6.x86_64
--> Processing Dependency: geos >= 3.4.2 for package:
postgis2_93-2.1.8-1.rhel6.x86_64
--> Processing Dependency: proj for package: postgis2_93-2.1.8-1.rhel6.x86_64
--> Processing Dependency: json-c for package: postgis2_93-2.1.8-1.rhel6.x86_64
--> Processing Dependency: hdf5 for package: postgis2_93-2.1.8-1.rhel6.x86_64
--> Processing Dependency: libproj.so.0()(64bit) for package:
postgis2_93-2.1.8-1.rhel6.x86_64
--> Processing Dependency: libjson-c.so.2()(64bit) for package:
postgis2_93-2.1.8-1.rhel6.x86_64
--> Processing Dependency: libgeos_c.so.1()(64bit) for package:
postgis2_93-2.1.8-1.rhel6.x86_64
--> Processing Dependency: libgdal.so.1()(64bit) for package:
postgis2_93-2.1.8-1.rhel6.x86_64
--> Running transaction check
---> Package gdal-libs.x86_64 0:1.9.2-6.rhel6 will be installed
--> Processing Dependency:
libmysqlclient.so.16(libmysqlclient_16)(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libxerces-c-3.0.so()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libtiff.so.3()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libspatialite.so.2()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libpoppler.so.5()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libodbcinst.so.2()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libodbc.so.2()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libnetcdf.so.6()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: liblzma.so.0()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libjasper.so.1()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libgta.so.0()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libgeotiff.so.2()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libfreexl.so.1()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libdapserver.so.7()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libdapclient.so.3()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libdap.so.11()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libcfitsio.so.0()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libarmadillo.so.4()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
--> Processing Dependency: libCharLS.so.1()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
---> Package geos.x86_64 0:3.4.2-1.4.amzn1 will be installed
---> Package hdf5.x86_64 0:1.8.5.patch1-9.el6 will be installed
---> Package json-c.x86_64 0:0.11-6.8.amzn1 will be installed
---> Package postgis2_93-client.x86_64 0:2.1.8-1.rhel6 will be installed
---> Package proj.x86_64 0:4.8.0-2.rhel6 will be installed
--> Running transaction check
---> Package CharLS.x86_64 0:1.0-1.el6 will be installed
---> Package armadillo.x86_64 0:4.550.2-1.el6 will be installed
--> Processing Dependency: liblapack.so.3()(64bit) for package:
armadillo-4.550.2-1.el6.x86_64
--> Processing Dependency: libclapack.so.3()(64bit) for package:
armadillo-4.550.2-1.el6.x86_64
--> Processing Dependency: libcblas.so.3()(64bit) for package:
armadillo-4.550.2-1.el6.x86_64
--> Processing Dependency: libblas.so.3()(64bit) for package:
armadillo-4.550.2-1.el6.x86_64
--> Processing Dependency: libarpack.so.2()(64bit) for package:
armadillo-4.550.2-1.el6.x86_64
---> Package cfitsio.x86_64 0:3.240-3.el6 will be installed
---> Package compat-libtiff3.x86_64 0:3.9.4-10.13.amzn1 will be installed
---> Package freexl.x86_64 0:1.0.0d-1.el6 will be installed
---> Package gdal-libs.x86_64 0:1.9.2-6.rhel6 will be installed
--> Processing Dependency: libpoppler.so.5()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
---> Package jasper-libs.x86_64 0:1.900.1-16.9.amzn1 will be installed
---> Package libdap.x86_64 0:3.11.0-1.el6 will be installed
---> Package libgeotiff.x86_64 0:1.4.0-1.el6 will be installed
---> Package libgta.x86_64 0:1.0.2-2.el6 will be installed
---> Package libspatialite.x86_64 0:2.4.0-0.6.RC4.el6 will be installed
---> Package mysql51-libs.x86_64 0:5.1.73-3.69.amzn1 will be installed
---> Package netcdf.x86_64 0:4.1.1-3.el6.5 will be installed
---> Package unixODBC.x86_64 0:2.2.14-14.7.amzn1 will be installed
--> Processing Dependency: libltdl.so.7()(64bit) for package:
unixODBC-2.2.14-14.7.amzn1.x86_64
---> Package xerces-c.x86_64 0:3.0.1-0.20.1.el6 will be installed
---> Package xz-compat-libs.x86_64 0:5.1.2-8alpha.11.amzn1 will be installed
--> Running transaction check
---> Package arpack.x86_64 0:3.1.3-1.el6 will be installed
---> Package atlas.x86_64 0:3.8.4-2.6.amzn1 will be installed
---> Package blas.x86_64 0:3.5.0-8.6.amzn1 will be installed
---> Package gdal-libs.x86_64 0:1.9.2-6.rhel6 will be installed
--> Processing Dependency: libpoppler.so.5()(64bit) for package:
gdal-libs-1.9.2-6.rhel6.x86_64
---> Package libtool-ltdl.x86_64 0:2.4.2-20.4.8.3.31.amzn1 will be installed
--> Finished Dependency Resolution
Error: Package: gdal-libs-1.9.2-6.rhel6.x86_64 (pgdg93)
Requires: libpoppler.so.5()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

This matches what Steve was seeing on this page:
http://lists.osgeo.org/pipermail/postgis-users/2014-August/039520.html

But his question seemed to reach a dead end without resolution.

On Sun, Feb 14, 2016 at 5:13 PM, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:

> Hi,
>
> I think you also need to add/enable EPEL repo, too.
>
> Regards,Devrim
>
>
> On February 15, 2016 12:09:01 AM GMT+02:00, Augori <augori(at)gmail(dot)com>
> wrote:
>>
>> I'm trying to install postgis on an Amazon Linux AMI 2015.09 - x86_64
>> machine. I was able to install PostgreSQL 9.3, however, when I try to
>> install postgis2_93, I get a notice that gdal requires a libpopper
>> library. When I --skip-broken it misses a whole bunch of dependencies and
>> though it doesn't throw any errors, it doesn't install. I found people
>> complaining about this problem back in Apr 2015, but I couldn't find any
>> resolution. Do you folks have any suggestions?
>>
>> # yum install postgis2_93
>> Loaded plugins: priorities, update-motd, upgrade-helper
>> 955 packages excluded due to repository priority protections
>> Resolving Dependencies
>> --> Running transaction check
>> ---> Package postgis2_93.x86_64 0:2.1.8-1.rhel6 will be installed
>> --> Processing Dependency: postgis-client = 2.1.8-1.rhel6 for package:
>> postgis2_93-2.1.8-1.rhel6.x86_64
>> --> Processing Dependency: geos >= 3.4.2 for package:
>> postgis2_93-2.1.8-1.rhel6.x86_64
>> --> Processing Dependency: proj for package:
>> postgis2_93-2.1.8-1.rhel6.x86_64
>> --> Processing Dependency: json-c for package:
>> postgis2_93-2.1.8-1.rhel6.x86_64
>> --> Processing Dependency: hdf5 for package:
>> postgis2_93-2.1.8-1.rhel6.x86_64
>> --> Processing Dependency: libproj.so.0()(64bit) for package:
>> postgis2_93-2.1.8-1.rhel6.x86_64
>> --> Processing Dependency: libjson-c.so.2()(64bit) for package:
>> postgis2_93-2.1.8-1.rhel6.x86_64
>> --> Processing Dependency: libgeos_c.so.1()(64bit) for package:
>> postgis2_93-2.1.8-1.rhel6.x86_64
>> --> Processing Dependency: libgdal.so.1()(64bit) for package:
>> postgis2_93-2.1.8-1.rhel6.x86_64
>> --> Running transaction check
>> ---> Package gdal-libs.x86_64 0:1.9.2-6.rhel6 will be installed
>> --> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit)
>> for package: gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libxerces-c-3.0.so()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libtiff.so.3()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libspatialite.so.2()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libpoppler.so.5()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libodbcinst.so.2()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libodbc.so.2()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libnetcdf.so.6()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libmysqlclient.so.16()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: liblzma.so.0()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libjasper.so.1()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libgta.so.0()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libgeotiff.so.2()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libfreexl.so.1()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libdapserver.so.7()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libdapclient.so.3()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libdap.so.11()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libcfitsio.so.0()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libarmadillo.so.4()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> --> Processing Dependency: libCharLS.so.1()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> ---> Package geos.x86_64 0:3.4.2-1.4.amzn1 will be installed
>> ---> Package hdf5.x86_64 0:1.8.5.patch1-9.el6 will be installed
>> ---> Package json-c.x86_64 0:0.11-6.8.amzn1 will be installed
>> ---> Package postgis2_93-client.x86_64 0:2.1.8-1.rhel6 will be installed
>> ---> Package proj.x86_64 0:4.8.0-2.rhel6 will be installed
>> --> Running transaction check
>> ---> Package CharLS.x86_64 0:1.0-1.el6 will be installed
>> ---> Package armadillo.x86_64 0:4.550.2-1.el6 will be installed
>> --> Processing Dependency: liblapack.so.3()(64bit) for package:
>> armadillo-4.550.2-1.el6.x86_64
>> --> Processing Dependency: libclapack.so.3()(64bit) for package:
>> armadillo-4.550.2-1.el6.x86_64
>> --> Processing Dependency: libcblas.so.3()(64bit) for package:
>> armadillo-4.550.2-1.el6.x86_64
>> --> Processing Dependency: libblas.so.3()(64bit) for package:
>> armadillo-4.550.2-1.el6.x86_64
>> --> Processing Dependency: libarpack.so.2()(64bit) for package:
>> armadillo-4.550.2-1.el6.x86_64
>> ---> Package cfitsio.x86_64 0:3.240-3.el6 will be installed
>> ---> Package compat-libtiff3.x86_64 0:3.9.4-10.13.amzn1 will be installed
>> ---> Package freexl.x86_64 0:1.0.0d-1.el6 will be installed
>> ---> Package gdal-libs.x86_64 0:1.9.2-6.rhel6 will be installed
>> --> Processing Dependency: libpoppler.so.5()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> ---> Package jasper-libs.x86_64 0:1.900.1-16.9.amzn1 will be installed
>> ---> Package libdap.x86_64 0:3.11.0-1.el6 will be installed
>> ---> Package libgeotiff.x86_64 0:1.4.0-1.el6 will be installed
>> ---> Package libgta.x86_64 0:1.0.2-2.el6 will be installed
>> ---> Package libspatialite.x86_64 0:2.4.0-0.6.RC4.el6 will be installed
>> ---> Package mysql51-libs.x86_64 0:5.1.73-3.69.amzn1 will be installed
>> ---> Package netcdf.x86_64 0:4.1.1-3.el6.5 will be installed
>> ---> Package unixODBC.x86_64 0:2.2.14-14.7.amzn1 will be installed
>> --> Processing Dependency: libltdl.so.7()(64bit) for package:
>> unixODBC-2.2.14-14.7.amzn1.x86_64
>> ---> Package xerces-c.x86_64 0:3.0.1-0.20.1.el6 will be installed
>> ---> Package xz-compat-libs.x86_64 0:5.1.2-8alpha.11.amzn1 will be
>> installed
>> --> Running transaction check
>> ---> Package arpack.x86_64 0:3.1.3-1.el6 will be installed
>> ---> Package atlas.x86_64 0:3.8.4-2.6.amzn1 will be installed
>> ---> Package blas.x86_64 0:3.5.0-8.6.amzn1 will be installed
>> ---> Package gdal-libs.x86_64 0:1.9.2-6.rhel6 will be installed
>> --> Processing Dependency: libpoppler.so.5()(64bit) for package:
>> gdal-libs-1.9.2-6.rhel6.x86_64
>> ---> Package libtool-ltdl.x86_64 0:2.4.2-20.4.8.3.31.amzn1 will be
>> installed
>> --> Finished Dependency Resolution
>> Error: Package: gdal-libs-1.9.2-6.rhel6.x86_64 (pgdg93)
>> Requires: libpoppler.so.5()(64bit)
>> You could try using --skip-broken to work around the problem
>> You could try running: rpm -Va --nofiles --nodigest
>>
>>
>>
>>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Mair 2016-02-15 04:14:02 Re: Trouble installing PostGIS on Amazon Linux server
Previous Message George Neuner 2016-02-15 01:53:40 Re: Windows performance