Обсуждение: Trouble installing PostGIS on Amazon Linux server
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
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
Hi,
I think you also need to add/enable EPEL repo, too.
Regards,Devrim
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
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@gmail.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_93Loaded 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.
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. 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
# 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@gunduz.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@gmail.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_93Loaded 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.
> 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 Hi, what happens if you try to install libpoppler (it is in the standard Amazon repo)? yum install poppler poppler-devel poppler-cpp poppler-cpp-devel Bye, Chris.
On 2/14/2016 7:45 PM, Augori wrote: > 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. must be something specific about amazon. I'm on a centos 6.recent box, and ran.. [root@new ~]# yum install postgis2_93 Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.sonic.net * epel: linux.mirrors.es.net * extras: centos.vwtonline.net * nux-dextop: mirror.li.nux.ro * updates: centos.mirrors.hoobly.com 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: json-c 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 --> Running transaction check ---> Package json-c.x86_64 0:0.11-12.el6 will be installed ---> Package postgis2_93-client.x86_64 0:2.1.8-1.rhel6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================== Package Arch Version Repository Size ========================================================================== Installing: postgis2_93 x86_64 2.1.8-1.rhel6 pgdg93 6.4 M Installing for dependencies: json-c x86_64 0.11-12.el6 base 51 k postgis2_93-client x86_64 2.1.8-1.rhel6 pgdg93 124 k Transaction Summary ================================================================== Install 3 Package(s) Total download size: 6.6 M Installed size: 54 M Is this ok [y/N]: y Downloading Packages: (1/3): json-c-0.11-12.el6.x86_64.rpm | 51 kB 00:00 (2/3): postgis2_93-2.1.8-1.rhel6.x86_64.rpm | 6.4 MB 00:01 (3/3): postgis2_93-client-2.1.8-1.rhel6.x86_64.rpm | 124 kB 00:00 --------------------------------------------------------- Total 4.6 MB/s | 6.6 MB 00:01 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : json-c-0.11-12.el6.x86_64 1/3 Installing : postgis2_93-client-2.1.8-1.rhel6.x86_64 2/3 Installing : postgis2_93-2.1.8-1.rhel6.x86_64 3/3 Verifying : json-c-0.11-12.el6.x86_64 1/3 Verifying : postgis2_93-client-2.1.8-1.rhel6.x86_64 2/3 Verifying : postgis2_93-2.1.8-1.rhel6.x86_64 3/3 Installed: postgis2_93.x86_64 0:2.1.8-1.rhel6 Dependency Installed: json-c.x86_64 0:0.11-12.el6 postgis2_93-client.x86_64 0:2.1.8-1.rhel6 Complete! [root@new ~]# ls -l /usr/lib64/libpop* lrwxrwxrwx. 1 root root 24 May 21 2014 /usr/lib64/libpoppler-glib.so.4 -> libpoppler-glib.so.4.0.0 -rwxr-xr-x 1 root root 213736 Jun 24 2011 /usr/lib64/libpoppler-glib.so.4.0.0 lrwxrwxrwx. 1 root root 19 May 21 2014 /usr/lib64/libpoppler.so.5 -> libpoppler.so.5.0.0 -rwxr-xr-x 1 root root 1947720 Jun 24 2011 /usr/lib64/libpoppler.so.5.0.0 lrwxrwxrwx 1 root root 28 Jun 1 2014 /usr/lib64/libpopt.so -> ../../lib64/libpopt.so.0.0.0 [root@new ~]# rpm -qf /usr/lib64/libpoppler.so.5 poppler-0.12.4-3.el6_0.1.x86_64 and poppler-0.12.4-3.el6_0.1.x86_64.rpm is in the base repository. -- john r pierce, recycling bits in santa cruz
It installed poppler successfully but still gives the same error. I did notice that it installed libpoppler 37 and the postgis2_93 install error seems to be looking for version 5
[root@ip-user]# ls /usr/lib64/libpo*
/usr/lib64/libpoppler-cpp.so /usr/lib64/libpoppler.so
/usr/lib64/libpoppler-cpp.so.0 /usr/lib64/libpoppler.so.37
/usr/lib64/libpoppler-cpp.so.0.2.0 /usr/lib64/libpoppler.so.37.0.0
[root@ip-ec2-user]# yum install postgis2_93 --enablerepo=epel (same results both with and without the enable repo flag)
.
. (lots of stuff not included here)[root@ip-user]# ls /usr/lib64/libpo*
/usr/lib64/libpoppler-cpp.so /usr/lib64/libpoppler.so
/usr/lib64/libpoppler-cpp.so.0 /usr/lib64/libpoppler.so.37
/usr/lib64/libpoppler-cpp.so.0.2.0 /usr/lib64/libpoppler.so.37.0.0
[root@ip-ec2-user]# yum install postgis2_93 --enablerepo=epel (same results both with and without the enable repo flag)
.
.
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
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
Perhaps I should uninstall the 37 version and install the 5.0 version? Any idea how to get it to install the 5.0 version?
Thanks
On Sun, Feb 14, 2016 at 11:14 PM, Chris Mair <chris@1006.org> wrote:
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
Hi,
what happens if you try to install libpoppler (it is in the standard Amazon repo)?
yum install poppler poppler-devel poppler-cpp poppler-cpp-devel
Bye,
Chris.
Hi, Just checked my RHEL 6 and RHEL 7 boxes. RHEL 6 provides libpoppler.so.5, and RHEL 7 provides libpoppler.so.46 . I cannot find any reference to .37 :( Where did you get it from? I am not an Amazon AMI user -- is your version based on RHEL 6 or RHEL 7? Regards, Devrim On Mon, 2016-02-15 at 10:05 -0500, Augori wrote: > It installed poppler successfully but still gives the same error. I did > notice that it installed libpoppler 37 and the postgis2_93 install error > seems to be looking for version 5 > [root@ip-user]# ls /usr/lib64/libpo* > /usr/lib64/libpoppler-cpp.so /usr/lib64/libpoppler.so > /usr/lib64/libpoppler-cpp.so.0 /usr/lib64/libpoppler.so.37 > /usr/lib64/libpoppler-cpp.so.0.2.0 /usr/lib64/libpoppler.so.37.0.0 > > [root@ip-ec2-user]# yum install postgis2_93 --enablerepo=epel (same > results both with and without the enable repo flag) > . > . (lots of stuff not included here) > . > 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 > > Perhaps I should uninstall the 37 version and install the 5.0 version? Any > idea how to get it to install the 5.0 version? > > Thanks > > > On Sun, Feb 14, 2016 at 11:14 PM, Chris Mair <chris@1006.org> wrote: > > > > > 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 > > > > > > > Hi, > > > > what happens if you try to install libpoppler (it is in the standard > > Amazon repo)? > > > > yum install poppler poppler-devel poppler-cpp poppler-cpp-devel > > > > Bye, > > Chris. > > > > > > -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Вложения
Hi Devrim,
I was told that "The amazon linux is compatible with Centos 6.x". Does that correspond to RHEL 6? Is there a command I could use to find out?
Is there a way I can force yum to install the RHEL 6 version?I was told that "The amazon linux is compatible with Centos 6.x". Does that correspond to RHEL 6? Is there a command I could use to find out?
On Mon, Feb 15, 2016 at 3:26 PM, Devrim GÜNDÜZ <devrim@gunduz.org> wrote:
Hi,
Just checked my RHEL 6 and RHEL 7 boxes. RHEL 6 provides libpoppler.so.5, and
RHEL 7 provides libpoppler.so.46 . I cannot find any reference to .37 :( Where
did you get it from?
I am not an Amazon AMI user -- is your version based on RHEL 6 or RHEL 7?
Regards, Devrim--
On Mon, 2016-02-15 at 10:05 -0500, Augori wrote:
> It installed poppler successfully but still gives the same error. I did
> notice that it installed libpoppler 37 and the postgis2_93 install error
> seems to be looking for version 5
> [root@ip-user]# ls /usr/lib64/libpo*
> /usr/lib64/libpoppler-cpp.so /usr/lib64/libpoppler.so
> /usr/lib64/libpoppler-cpp.so.0 /usr/lib64/libpoppler.so.37
> /usr/lib64/libpoppler-cpp.so.0.2.0 /usr/lib64/libpoppler.so.37.0.0
>
> [root@ip-ec2-user]# yum install postgis2_93 --enablerepo=epel (same
> results both with and without the enable repo flag)
> .
> . (lots of stuff not included here)
> .
> 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
>
> Perhaps I should uninstall the 37 version and install the 5.0 version? Any
> idea how to get it to install the 5.0 version?
>
> Thanks
>
>
> On Sun, Feb 14, 2016 at 11:14 PM, Chris Mair <chris@1006.org> wrote:
>
> >
> > 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
> > >
> >
> > Hi,
> >
> > what happens if you try to install libpoppler (it is in the standard
> > Amazon repo)?
> >
> > yum install poppler poppler-devel poppler-cpp poppler-cpp-devel
> >
> > Bye,
> > Chris.
> >
> >
> >
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
On 2/15/2016 12:41 PM, Augori wrote:
Is there a way I can force yum to install the RHEL 6 version?
I was told that "The amazon linux is compatible with Centos 6.x". Does that correspond to RHEL 6? Is there a command I could use to find out?
I saw .el6. in several of your RPMs on an earlier post, so yes, you're running a RHEL/CentOS 6 derived system.
note the RPM version numbers don't necessarily directly match with the file versions. on my CentOS 6 system, i have...
# rpm -qf /usr/lib64/libpoppler.so.5
poppler-0.12.4-3.el6_0.1.x86_64
poppler-0.12.4-3.el6_0.1.x86_64.rpm is from the centos6 base/updates repository.
-- john r pierce, recycling bits in santa cruz
> I was told that "The amazon linux is compatible with Centos 6.x". Does that correspond to RHEL 6? Is there a commandI could use to find out? Not quite. Amazon Linux is RHEl/CentOS/Fedora derived, but it's not based on exactly RHEl/CentOS 6 or exactly RHEl/CentOS 7. This is its current libpoppler: $ rpm -qf /usr/lib64/libpoppler.so.37 poppler-0.22.5-6.15.amzn1.x86_64 I don't know if this is an option to you, but CentOS 6 is available as an AMI on AWS, so you could directly run that? Also AWS offers RDBMS as a service and they do have PostgreSQL + PostGIS in their offerings (see "RDS"). Bye, Chris.