Join the community today
Register Now

Upgrade EL8 - libzip.so.5: cannot open shared object file

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Nik, Apr 18, 2025.

  1. Nik

    Nik Member

    97
    6
    8
    Dec 7, 2015
    Ratings:
    +16
    Local Time:
    7:33 PM
    Have an old EL8 centmin 140 Beta install.

    Was running 8.2.20, attempted an upgrade to 8.2.27, failed with libzip.so.5 error during compilation. Attempted to jump to 8.3, same issue.

    php-fpm is also not starting up which is a problem.


    I saw an older thread on this, attempted to add IMAGEMAGICK_SEVEN='y' but again no success.

    @eva2000 any hot tips on how to get the server up and running again?

    Here's my custom_config:

    Code:
    CENTOS_ALPHATEST='y'
    #NGINX_VERSION='1.25.2'
    NGINX_ONETWOTHREE_COMPAT='y'
    GENERAL_DEVTOOLSETGCC='y'
    DEVTOOLSETTEN='n'
    DEVTOOLSETELEVEN='n'
    DEVTOOLSETTWELVE='y'
    SELFSIGNEDSSL_ECDSA='y'
    PHPFINFO='y'
    PHP_OVERWRITECONF='n'
    PYTHON_INSTALL_ALTERNATIVES='y'
    DMOTD_PHPCHECK='y'
    NGINX_GEOIPTWOLITE='y'
    NGXDYNAMIC_GEOIPTWOLITE='y'
    NGINX_HPACK='y'
    NGINX_DYNAMICTLS='y'
    NGINX_PCRE_TWO='y'
    OPENSSL_VERSION='3.1.1'
    OPENSSL_VERSIONFALLBACK='3.1.1'
    OPENSSL_VERSION_OLDOVERRIDE='3.1.1'
    NGX_LDMOLD='y'
    PHP_LDMOLD='y'
    NGINX_NJS='y'
    NGXDYNAMIC_NJS='y'
    NGXDYNAMIC_BROTLI='y'
    NGINX_LIBBROTLI='y'
    NGINX_VIDEO='y'
    ENABLE_MARIADBTENFOURUPGRADE='y'
    ENABLE_MARIADBTENFIVEUPGRADE='y'
    ENABLE_MARIADBTENSIXUPGRADE='y'
    PHP_MEMCACHE='n'
    MARCH_TARGETNATIVE='n'
    AUTODETECPHP_OVERRIDE='y'
    IMAGEMAGICK_SEVEN='y'
     
    Last edited: Apr 18, 2025
  2. eva2000

    eva2000 Administrator Staff Member

    55,441
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,840
    Local Time:
    9:33 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. Nik

    Nik Member

    97
    6
    8
    Dec 7, 2015
    Ratings:
    +16
    Local Time:
    7:33 PM
  4. eva2000

    eva2000 Administrator Staff Member

    55,441
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,840
    Local Time:
    9:33 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Thanks for sharing the logs and bug report. I've just updated 131.00stable, 132.00stable and 140.00beta01 with a 2nd fix for this and your case only applied if your MariaDB 10.4 YUM repo file /etc/yum.repos.d/mariadb.repo used Rackspace mirrors as they are gone now for 10.4

    your culprit is /etc/yum.repos.d/mariadb.repo with
    Code (Text):
    [mariadb]
    name = MariaDB
    baseurl = https://mirror.rackspace.com/mariadb/yum/10.4/centos8-amd64
    module_hotfixes=1
    gpgkey=https://mirror.rackspace.com/mariadb/yum/RPM-GPG-KEY-MariaDB
    gpgcheck=1
    exclude=MariaDB-Galera-server
    


    the fix I updated applies on centmin.sh menu run to change it to the following for /etc/yum.repos.d/mariadb.repo

    Code (Text):
    [mariadb]
    name = MariaDB
    baseurl = https://archive.mariadb.org/mariadb-10.4/yum/centos8-amd64
    module_hotfixes=1
    gpgkey=https://supplychain.mariadb.com/MariaDB-Server-GPG-KEY
    gpgcheck=1
    exclude=MariaDB-Galera-server
    


    I already had the fix for old https://yum.mariadb.org/10.4 URLs but not for https://mirror.rackspace.com/mariadb/yum/10.4 detection.

    So existing users running MariaDB 10.4 can run centmin.sh once and exit to apply fix
     
  5. eva2000

    eva2000 Administrator Staff Member

    55,441
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,840
    Local Time:
    9:33 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+