[postgis-tickets] [PostGIS] #5216: Error: Package: gdal-libs-1.11.4-12.rhel7.x86_64 (@pgdg11)

PostGIS trac at osgeo.org
Sat Aug 13 14:15:15 PDT 2022


#5216: Error: Package: gdal-libs-1.11.4-12.rhel7.x86_64 (@pgdg11)
-----------------------+--------------------------
  Reporter:  marc3932  |      Owner:  pramsey
      Type:  patch     |     Status:  new
  Priority:  high      |  Milestone:  PostGIS GDAL
 Component:  postgis   |    Version:  3.1.x
Resolution:            |   Keywords:  gdal-libs
-----------------------+--------------------------
Description changed by marc3932:

Old description:

> ================================================================
>
> $ cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 7.9 (Maipo)
>
> ================================================================
>
> # rpm -qa | grep armadillo* | sort
> armadillo-8.600.1-2.el7.x86_64
> # rpm -qa | grep gdal-libs* | sort
> gdal-libs-1.11.4-12.rhel7.x86_64
>
> ================================================================
>
> Problem:
>
> # yum update
> ...
> Error: Package: gdal-libs-1.11.4-12.rhel7.x86_64 (@pgdg11)
>            Requires: libarmadillo.so.8()(64bit)
>            Removing: armadillo-8.600.1-2.el7.x86_64
> (@EPEL7_x64_localrepo)
>                libarmadillo.so.8()(64bit)
>            Updated By: armadillo-10.8.2-1.el7.x86_64 (epel)
>               ~libarmadillo.so.10()(64bit)
>
> - It appears the newer armadillo packages update the libarmadillo.so.8
> library to libarmadillo.so.10
>
> - So it looks like gdal-libs will need to be rebuilt against newer
> armadillo to fix the problem.
>
> ===============================================================
>
> # subscription-manager repos --list-enabled
> +----------------------------------------------------------+
>     Available Repositories in /etc/yum.repos.d/redhat.repo
> +----------------------------------------------------------+
> Repo ID:   rhel-7-server-rpms
> Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
> Repo URL:  https://red-inf-
> cap-p01.esri.com/pulp/repos/ESRI/LEP_Patch/cv_patch/content/dist/rhel/server/7/$releasever/$basearch/os
> Enabled:   1
>
> Repo ID:   rhel-server-rhscl-7-rpms
> Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux
> 7 Server
> Repo URL:  https://red-inf-
> cap-p01.esri.com/pulp/repos/ESRI/LEP_Patch/cv_patch/content/dist/rhel/server/7/$releasever/$basearch/rhscl/1/os
> Enabled:   1
>
> Repo ID:   rhel-7-server-extras-rpms
> Repo Name: Red Hat Enterprise Linux 7 Server - Extras (RPMs)
> Repo URL:  https://red-inf-
> cap-p01.esri.com/pulp/repos/ESRI/LEP_Patch/cv_patch/content/dist/rhel/server/7/7Server/$basearch/extras/os
> Enabled:   1
>
> Repo ID:   ESRI_EPEL_7_x86_64
> Repo Name: x86_64
> Repo URL:  https://red-inf-
> cap-p01.esri.com/pulp/repos/ESRI/LEP_Patch/cv_patch/custom/EPEL_7/x86_64
> Enabled:   1
>
> Repo ID:   rhel-7-server-optional-rpms
> Repo Name: Red Hat Enterprise Linux 7 Server - Optional (RPMs)
> Repo URL:  https://red-inf-
> cap-p01.esri.com/pulp/repos/ESRI/LEP_Patch/cv_patch/content/dist/rhel/server/7/$releasever/$basearch/optional/os
> Enabled:   1
>
> ================================================================
>
> --Workaround:
> # yum update --exclude=gdal-libs* --exclude=armadillo*
>
> =================================================================
>
> #Aug/10/2022
> #yum update --exclude=postgis31_11 --exclude=postgis31_12
> --exclude=postgis31_13 --exclude=postgis32_13 --exclude=postgresql11*
> --exclude=postgresql12* --exclude=postgresql13* --exclude=gdal-libs*
> --exclude=armadillo*
>
> =================================================================
>
> $ rpm -qa | grep postgres* | sort
> postgresql11-11.16-1PGDG.rhel7.x86_64
> postgresql11-contrib-11.16-1PGDG.rhel7.x86_64
> postgresql11-libs-11.16-1PGDG.rhel7.x86_64
> postgresql11-server-11.16-1PGDG.rhel7.x86_64
> postgresql12-12.11-1PGDG.rhel7.x86_64
> postgresql12-contrib-12.11-1PGDG.rhel7.x86_64
> postgresql12-libs-12.11-1PGDG.rhel7.x86_64
> postgresql12-server-12.11-1PGDG.rhel7.x86_64
> postgresql13-13.7-1PGDG.rhel7.x86_64
> postgresql13-contrib-13.7-1PGDG.rhel7.x86_64
> postgresql13-libs-13.7-1PGDG.rhel7.x86_64
> postgresql13-server-13.7-1PGDG.rhel7.x86_64
> $
>
> =======================================================================
>
> $ rpm -qa | grep postgis* | sort
> postgis31_11-3.1.5-1.rhel7.x86_64
> postgis31_12-3.1.5-1.rhel7.x86_64
> postgis32_13-3.2.1-1.rhel7.x86_64
> $
>
> ========================================================================

New description:

 ================================================================

 $ cat /etc/redhat-release

 Red Hat Enterprise Linux Server release 7.9 (Maipo)

 ================================================================

 # rpm -qa | grep armadillo* | sort

 armadillo-8.600.1-2.el7.x86_64

 # rpm -qa | grep gdal-libs* | sort

 gdal-libs-1.11.4-12.rhel7.x86_64

 ================================================================

 Problem:

 # yum update

 ...

 Error: Package: gdal-libs-1.11.4-12.rhel7.x86_64 (@pgdg11)
            Requires: libarmadillo.so.8()(64bit)
            Removing: armadillo-8.600.1-2.el7.x86_64 (@EPEL7_x64_localrepo)
                libarmadillo.so.8()(64bit)
            Updated By: armadillo-10.8.2-1.el7.x86_64 (epel)
               ~libarmadillo.so.10()(64bit)

 - It appears the newer armadillo packages update the libarmadillo.so.8
 library to libarmadillo.so.10

 - So it looks like gdal-libs will need to be rebuilt against newer
 armadillo to fix the problem.

 ===============================================================

 # subscription-manager repos --list-enabled

 +----------------------------------------------------------+
     Available Repositories in /etc/yum.repos.d/redhat.repo
 +----------------------------------------------------------+
 Repo ID:   rhel-7-server-rpms
 Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
 Repo URL:  https://red-inf-
 cap-p01.esri.com/pulp/repos/ESRI/LEP_Patch/cv_patch/content/dist/rhel/server/7/$releasever/$basearch/os
 Enabled:   1

 Repo ID:   rhel-server-rhscl-7-rpms
 Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux
 7 Server
 Repo URL:  https://red-inf-
 cap-p01.esri.com/pulp/repos/ESRI/LEP_Patch/cv_patch/content/dist/rhel/server/7/$releasever/$basearch/rhscl/1/os
 Enabled:   1

 Repo ID:   rhel-7-server-extras-rpms
 Repo Name: Red Hat Enterprise Linux 7 Server - Extras (RPMs)
 Repo URL:  https://red-inf-
 cap-p01.esri.com/pulp/repos/ESRI/LEP_Patch/cv_patch/content/dist/rhel/server/7/7Server/$basearch/extras/os
 Enabled:   1

 Repo ID:   ESRI_EPEL_7_x86_64
 Repo Name: x86_64
 Repo URL:  https://red-inf-
 cap-p01.esri.com/pulp/repos/ESRI/LEP_Patch/cv_patch/custom/EPEL_7/x86_64
 Enabled:   1

 Repo ID:   rhel-7-server-optional-rpms
 Repo Name: Red Hat Enterprise Linux 7 Server - Optional (RPMs)
 Repo URL:  https://red-inf-
 cap-p01.esri.com/pulp/repos/ESRI/LEP_Patch/cv_patch/content/dist/rhel/server/7/$releasever/$basearch/optional/os
 Enabled:   1

 ================================================================

 --Workaround:

 # yum update --exclude=gdal-libs* --exclude=armadillo*

 =================================================================

 #Aug/10/2022

 #yum update --exclude=postgis31_11 --exclude=postgis31_12 --
 exclude=postgis31_13 --exclude=postgis32_13 --exclude=postgresql11*
 --exclude=postgresql12* --exclude=postgresql13* --exclude=gdal-libs*
 --exclude=armadillo*

 =================================================================

 $ rpm -qa | grep postgres* | sort

 postgresql11-11.16-1PGDG.rhel7.x86_64
 postgresql11-contrib-11.16-1PGDG.rhel7.x86_64
 postgresql11-libs-11.16-1PGDG.rhel7.x86_64
 postgresql11-server-11.16-1PGDG.rhel7.x86_64
 postgresql12-12.11-1PGDG.rhel7.x86_64
 postgresql12-contrib-12.11-1PGDG.rhel7.x86_64
 postgresql12-libs-12.11-1PGDG.rhel7.x86_64
 postgresql12-server-12.11-1PGDG.rhel7.x86_64
 postgresql13-13.7-1PGDG.rhel7.x86_64
 postgresql13-contrib-13.7-1PGDG.rhel7.x86_64
 postgresql13-libs-13.7-1PGDG.rhel7.x86_64
 postgresql13-server-13.7-1PGDG.rhel7.x86_64
 $

 =======================================================================

 $ rpm -qa | grep postgis* | sort

 postgis31_11-3.1.5-1.rhel7.x86_64
 postgis31_12-3.1.5-1.rhel7.x86_64
 postgis32_13-3.2.1-1.rhel7.x86_64
 $

 ========================================================================

--
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5216#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list