Trouble installing PostGIS on Amazon Linux server

From: Augori <augori(at)gmail(dot)com>
To: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Trouble installing PostGIS on Amazon Linux server
Date: 2016-02-14 22:09:01
Message-ID: CAFE+72P35Z4TPTQz1mGMAfUgN70O3mAzg5geZ7JWbq_+4qjjSg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Devrim Gündüz 2016-02-14 22:13:11 Re: Trouble installing PostGIS on Amazon Linux server
Previous Message drum.lucas@gmail.com 2016-02-14 19:40:27 Re: Optimize Query