Welcome to Centmin Mod Community
Become a Member

fresh AlmaLinux 8.9 install fails on compile php

Discussion in 'AlmaLinux 8 & Rocky Linux 8 Beta Testing' started by fablab, Dec 19, 2023.

  1. fablab

    fablab New Member

    20
    2
    3
    May 23, 2020
    Ratings:
    +6
    Local Time:
    3:32 PM
    1.25.3
    MariaDB-server-10.4.31-1.el7.centos.x86_64
    Please fill in any relevant information that applies to you:
    • CentOS Version: AlmaLinux 8.9 on Azure compute node 4.18.0-513.5.1.el8_9.x86_64
    • Centmin Mod Version Installed: 130.00beta01
    • Nginx Version Installed: 1.25.3 (181223-094858-almalinux8-hyperv-88cb2cd)
    • PHP Version Installed: FAILED to install 8.0.30
    • MariaDB MySQL Version Installed: 10.4.32-1.el8.x86_64
    • When was last time updated Centmin Mod code base ? : fresh install
    • Persistent Config: default:
      Code (Text):
      CENTOS_ALPHATEST='y'
      NGINX_VERSION='1.25.3'
      NGINX_ONETWOTHREE_COMPAT='y'
      DEVTOOLSETTEN='n'
      DEVTOOLSETELEVEN='n'
      DEVTOOLSETTWELVE='y'
      SELFSIGNEDSSL_ECDSA='y'
      PHPFINFO='y'
      PHP_OVERWRITECONF='n'
      PYTHON_INSTALL_ALTERNATIVES='y'
      
      MARCH_TARGETNATIVE='n'
      
    I followed the default instructions https://community.centminmod.com/th...-mod-on-almalinux-8-rocky-linux-8-oses.23261/

    PHP is not installing.

    I noticed a configure warning:


    Code (Text):
    Using GCC 12
    
    export CFLAGS="-O3 -m64 -march=x86-64-v4 -mavx -mavx2 -mpclmul -msse4 -msse4.1 -msse4.2 -pipe -Wno-deprecated-declarations -Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-int-conversion -Wno-error=unused-result -Wno-unused-result -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -Wno-missing-profile -fcode-hoisting -Wno-cast-function-type -Wno-error=cast-align -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -fstack-protector-strong -fPIC"
    export CPPFLAGS=" -D_FORTIFY_SOURCE=2"
    export ICU_CFLAGS='-fPIC'
    export LIBSODIUM_CFLAGS='-fPIC'
    export LIBZIP_CFLAGS='-fPIC'
    export PHP_LDFLAGS=" -Wl,-z,relro,-z,now -pie"
    2
    LD_LIBRARY_PATH=/usr/local/lib64 PKG_CONFIG_PATH="/usr/local/lib64/pkgconfig:" ../configure --enable-fpm --enable-opcache --enable-intl --enable-pcntl --with-mcrypt --with-snmp --enable-embed=shared --with-mhash --with-zlib --with-gettext --enable-exif --with-zip --with-libzip --with-bz2 --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-shmop --with-pear --enable-mbstring --with-openssl --with-mysql=mysqlnd --with-libdir=lib64 --with-mysqli=mysqlnd --with-mysql-sock=/var/lib/mysql/mysql.sock --with-curl --enable-gd --with-xmlrpc --enable-bcmath --enable-calendar  --enable-ftp --enable-gd-native-ttf --with-freetype --with-jpeg --with-png-dir=/usr --with-xpm --with-webp --with-t1lib=/usr --enable-shmop --with-pear --enable-mbstring --with-openssl --with-mysql=mysqlnd --with-libdir=lib64 --with-mysqli=mysqlnd --enable-pdo --with-pdo-sqlite --with-pdo-mysql=mysqlnd --enable-inline-optimization --with-imap --with-imap-ssl --with-kerberos --with-readline --with-libedit --with-gmp --with-pspell --with-tidy --with-enchant --with-fpm-user=nginx --with-fpm-group=nginx --with-ldap --with-ldap-sasl --with-password-argon2 --with-sodium=/usr/local --with-pic --with-config-file-scan-dir=/etc/centminmod/php.d --with-fpm-systemd --with-ffi --with-xsl
    configure: WARNING: unrecognized options: --with-mcrypt, --with-libzip, --with-mysql, --with-xmlrpc, --enable-gd-native-ttf, --with-png-dir, --with-t1lib, --with-mysql, --enable-inline-optimization
    


    and then
    Code (Text):
    configure: error: LDAP build check failed. Please check config.log for more information.
    
    php_configure.inc make -j4
    PHP_PGO = n
    make -j4
    make: *** No targets specified and no makefile found.  Stop.
    
    real    0m0.003s
    user    0m0.001s
    sys     0m0.003s
    
    php_configure.inc make install
    make: *** No rule to make target 'install'.  Stop.
    
    real    0m0.003s
    user    0m0.000s
    sys     0m0.003s
    
    strip PHP binary...
    ls: cannot access '/usr/local/bin/php': No such file or directory
    ls: cannot access '/usr/local/bin/php-cgi': No such file or directory
    ls: cannot access '/usr/local/sbin/php-fpm': No such file or directory
    
    backup before strip PHP binary...
    cp: cannot stat '/usr/local/bin/php': No such file or directory
    cp: cannot stat '/usr/local/bin/php-cgi': No such file or directory
    cp: cannot stat '/usr/local/sbin/php-fpm': No such file or directory
    strip: '/usr/local/bin/php': No such file
    strip: '/usr/local/bin/php-cgi': No such file
    strip: '/usr/local/sbin/php-fpm': No such file
    
    after strip PHP binary...
    ls: cannot access '/usr/local/bin/php': No such file or directory
    ls: cannot access '/usr/local/bin/php-cgi': No such file or directory
    ls: cannot access '/usr/local/sbin/php-fpm': No such file or directory
    
    ----------------------------------------------------------------------------------
    PHP was not installed properly
    ----------------------------------------------------------------------------------
    
    


    After staring at the install log without finding much inspiration, I have uploaded a sanitised zipped copy here Log/installer.log.gz at main · fabricelaborie/Log
    Any idea?
     
  2. eva2000

    eva2000 Administrator Staff Member

    51,210
    11,898
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,372
    Local Time:
    10:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    you can ignore that, your issue isn't related to those

    related to LDAP dependency from full install log you provided
    Code (Text):
    checking for LDAP support... yes
    checking whether to build with LDAP Cyrus SASL support... yes
    checking size of long... (cached) 8
    checking if we're at 64-bit platform... yes
    checking for 3 arg ldap_set_rebind_proc... yes
    checking for ldap_parse_result... no
    checking for ldap_parse_reference... no
    checking for ldap_start_tls_s... no
    checking for ldap_control_find... no
    checking for ldap_parse_extended_result... no
    checking for ldap_extended_operation... no
    checking for ldap_extended_operation_s... no
    checking for ldap_passwd... no
    checking for ldap_whoami_s... no
    checking for ldap_refresh_s... no
    checking for libsasl2... yes
    checking for ldap_bind_s... no
    configure: error: LDAP build check failed. Please check config.log for more information.
    

    on a working install it should look like
    Code (Text):
    checking for LDAP support... yes
    checking whether to build with LDAP Cyrus SASL support... yes
    checking size of long... (cached) 8
    checking if we're at 64-bit platform... yes
    checking for 3 arg ldap_set_rebind_proc... yes
    checking for ldap_parse_result... yes
    checking for ldap_parse_reference... yes
    checking for ldap_start_tls_s... yes
    checking for ldap_control_find... yes
    checking for ldap_parse_extended_result... yes
    checking for ldap_extended_operation... yes
    checking for ldap_extended_operation_s... yes
    checking for ldap_passwd... yes
    checking for ldap_whoami_s... yes
    checking for ldap_refresh_s... yes
    checking for libsasl2... yes
    checking for ldap_bind_s... yes
    

    would need the php-fpm config.log which is saved with each PHP install/upgrade/recompile at /root/centminlogs/php-compile-config-${DT}.log.gz where DT is date timestamp

    as it's a fresh initial install, it should only 1 instance of this log which you'd find by using this command to for listing date ascending logs with grep filter for file name and return first instance
    Code (Text):
    ls -lahrt /root/centminlogs/ | grep php-compile-config | head -n1
    

    Code (Text):
    ls -lahrt /root/centminlogs/ | grep php-compile-config | head -n1
    -rw-r--r--   1 root root  76K Oct 20 01:33 php-compile-config-201023-013214.log.gz
    

    You can share that gzip log or if you want to inspect it just for ldap related errors try zgrep for compressed grep filter on gzipped log file like
    Code (Text):
    zgrep -i -C20 'checking for ldap_' /root/centminlogs/php-compile-config-201023-013214.log.gz
    
     
  3. eva2000

    eva2000 Administrator Staff Member

    51,210
    11,898
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,372
    Local Time:
    10:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    Also what output do you get from command
    Code (Text):
    yum -q list installed *cyrus*
    

    example
    Code (Text):
    yum -q list installed *cyrus*
    Installed Packages
    cyrus-imapd.x86_64                   3.0.7-24.el8               @appstream
    cyrus-imapd-utils.x86_64             3.0.7-24.el8               @appstream
    cyrus-imapd-vzic.x86_64              3.0.7-24.el8               @appstream
    cyrus-sasl.x86_64                    2.1.27-6.el8_5             @baseos 
    cyrus-sasl-devel.x86_64              2.1.27-6.el8_5             @baseos 
    cyrus-sasl-lib.x86_64                2.1.27-6.el8_5             @anaconda
    cyrus-sasl-md5.x86_64                2.1.27-6.el8_5             @baseos 
    cyrus-sasl-plain.x86_64              2.1.27-6.el8_5             @baseos
    

    also share output for command
    Code (Text):
    /usr/bin/pkg-config --exists --print-errors --modversion "libsasl2"
    

    example output
    Code (Text):
    /usr/bin/pkg-config --exists --print-errors --modversion "libsasl2"
    2.1.27
    

    and output for
    Code (Text):
    yum -q history list cyrus-sasl-devel
    
     
  4. fablab

    fablab New Member

    20
    2
    3
    May 23, 2020
    Ratings:
    +6
    Local Time:
    3:32 PM
    1.25.3
    MariaDB-server-10.4.31-1.el7.centos.x86_64
    Hi Eva!
    I had actually made my way down to the config.log file when you responded.

    There were 2x config.log files as I had attempted an option 5). PHP Upgrade / Downgrade

    Code (Text):
    zgrep -i -C20 'checking for ldap_' /root/centminlogs/php-compile-config-181223-094321.log.gz
    


    indicates failures with errors related to lib icu* . I'm sharing only the first few:
    Code (Text):
    | #include <ac_nonexistent.h>
    configure:43782: checking whether /opt/rh/gcc-toolset-12/root/usr/bin/g++ supports C++11 features with -std=c++11
    configure:44080: /opt/rh/gcc-toolset-12/root/usr/bin/g++ -std=c++11 -c -O3 -m64 -march=x86-64-v4 -mavx -mavx2 -mpclmul -msse4 -msse4.1 -msse4.2 -pipe -Wno-deprecated-declarations -Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-int-conversion -Wno-error=unused-result -Wno-unused-result -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -Wno-missing-profile -fcode-hoisting -Wno-cast-function-type -Wno-error=cast-align -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation  -D_FORTIFY_SOURCE=2 conftest.cpp >&5
    cc1plus: warning: command-line option '-Wno-int-conversion' is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option '-Wno-discarded-qualifiers' is valid for C/ObjC but not for C++
    configure:44080: $? = 0
    configure:44089: result: yes
    configure:44596: checking for LDAP support
    configure:44632: result: yes
    configure:44641: checking whether to build with LDAP Cyrus SASL support
    configure:44656: result: yes
    configure:44927: checking size of long
    configure:44946: result: 8
    configure:44956: checking if we're at 64-bit platform
    configure:44966: result: yes
    configure:45716: checking for 3 arg ldap_set_rebind_proc
    configure:45732: /opt/rh/gcc-toolset-12/root/usr/bin/gcc -c -O3 -m64 -march=x86-64-v4 -mavx -mavx2 -mpclmul -msse4 -msse4.1 -msse4.2 -pipe -Wno-deprecated-declarations -Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-int-conversion -Wno-error=unused-result -Wno-unused-result -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -Wno-missing-profile -fcode-hoisting -Wno-cast-function-type -Wno-error=cast-align -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -fstack-protector-strong -fPIC -fvisibility=hidden  -D_FORTIFY_SOURCE=2 -I/usr/include conftest.c >&5
    configure:45732: $? = 0
    configure:45739: result: yes
    configure:45750: checking for ldap_parse_result
    configure:45750: /opt/rh/gcc-toolset-12/root/usr/bin/gcc -o conftest -O3 -m64 -march=x86-64-v4 -mavx -mavx2 -mpclmul -msse4 -msse4.1 -msse4.2 -pipe -Wno-deprecated-declarations -Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-int-conversion -Wno-error=unused-result -Wno-unused-result -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -Wno-missing-profile -fcode-hoisting -Wno-cast-function-type -Wno-error=cast-align -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -fstack-protector-strong -fPIC -fvisibility=hidden  -D_FORTIFY_SOURCE=2 -I/usr/include  conftest.c -lldap -llber -lstdc++ -lcrypt -lpam -lgmp -lbz2 -lutil -lrt -lm -ldl  -lsystemd -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -lenchant -lgmodule-2.0 -lglib-2.0 -lffi -lssl -lcrypto -lz -lpng16 -lwebp -ljpeg -lXpm -lX11 -lfreetype -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -licuio -licui18n -licuuc -licudata  >&5
    /opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: cannot find -licuio: No such file or directory
    /opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: cannot find -licui18n: No such file or directory
    /opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: cannot find -licuuc: No such file or directory
    /opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: cannot find -licudata: No such file or directory
    collect2: error: ld returned 1 exit status
    configure:45750: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "PHP"
    | #define PACKAGE_TARNAME "php"
    | #define PACKAGE_VERSION "8.0.30"
    | #define PACKAGE_STRING "PHP 8.0.30"
    | #define PACKAGE_BUGREPORT "https://bugs.php.net"
    | #define PACKAGE_URL "https://www.php.net"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    --
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char ldap_parse_result ();
    | /* The GNU C library defines this for functions which it implements
    |     to always fail with ENOSYS.  Some functions are actually named
    |     something starting with __ and the normal name is an alias.  */
    | #if defined __stub_ldap_parse_result || defined __stub___ldap_parse_result
    | choke me
    | #endif
    |
    | int
    | main ()
    | {
    | return ldap_parse_result ();
    |   ;
    |   return 0;
    | }
    configure:45750: result: no
    configure:45750: checking for ldap_parse_reference
    configure:45750: /opt/rh/gcc-toolset-12/root/usr/bin/gcc -o conftest -O3 -m64 -march=x86-64-v4 -mavx -mavx2 -mpclmul -msse4 -msse4.1 -msse4.2 -pipe -Wno-deprecated-declarations -Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-int-conversion -Wno-error=unused-result -Wno-unused-result -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -Wno-missing-profile -fcode-hoisting -Wno-cast-function-type -Wno-error=cast-align -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -fstack-protector-strong -fPIC -fvisibility=hidden  -D_FORTIFY_SOURCE=2 -I/usr/include  conftest.c -lldap -llber -lstdc++ -lcrypt -lpam -lgmp -lbz2 -lutil -lrt -lm -ldl  -lsystemd -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -lenchant -lgmodule-2.0 -lglib-2.0 -lffi -lssl -lcrypto -lz -lpng16 -lwebp -ljpeg -lXpm -lX11 -lfreetype -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -licuio -licui18n -licuuc -licudata  >&5
    /opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: cannot find -licuio: No such file or directory
    /opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: cannot find -licui18n: No such file or directory
    /opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: cannot find -licuuc: No such file or directory
    /opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: cannot find -licudata: No such file or directory
    collect2: error: ld returned 1 exit status
    configure:45750: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "PHP"
    | #define PACKAGE_TARNAME "php"
    | #define PACKAGE_VERSION "8.0.30"
    | #define PACKAGE_STRING "PHP 8.0.30"
    | #define PACKAGE_BUGREPORT "https://bugs.php.net"
    | #define PACKAGE_URL "https://www.php.net"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    


    I seem to have miss some ( the *remi*) of those libraries :
    Code (Text):
    rpm -qa | grep icu ;  locate -r "libic[u|i]" | egrep -v "/usr/share/[doc|license]"
    libicu-60.3-2.el8_1.x86_64
    /usr/lib64/libicudata.so.60
    /usr/lib64/libicudata.so.60.3
    /usr/lib64/libicui18n.so.60
    /usr/lib64/libicui18n.so.60.3
    /usr/lib64/libicuio.so.60
    /usr/lib64/libicuio.so.60.3
    /usr/lib64/libicutest.so.60
    /usr/lib64/libicutest.so.60.3
    /usr/lib64/libicutu.so.60
    /usr/lib64/libicutu.so.60.3
    /usr/lib64/libicuuc.so.60
    /usr/lib64/libicuuc.so.60.3
    


    compared to what I see on an other system:

    Code (Text):
    rpm -qa | grep icu ;  locate -r "libic[u|i]" | egrep -v "/usr/share/[doc|license]"
    libicu-60.3-2.el8_1.x86_64
    libicu73-devel-73.2-1.el8.remi.x86_64
    libicu73-73.2-1.el8.remi.x86_64
    /usr/lib64/libicudata.so
    /usr/lib64/libicudata.so.60
    /usr/lib64/libicudata.so.60.3
    /usr/lib64/libicudata.so.73
    /usr/lib64/libicudata.so.73.2
    /usr/lib64/libicui18n.so
    /usr/lib64/libicui18n.so.60
    /usr/lib64/libicui18n.so.60.3
    /usr/lib64/libicui18n.so.73
    /usr/lib64/libicui18n.so.73.2
    /usr/lib64/libicuio.so
    /usr/lib64/libicuio.so.60
    /usr/lib64/libicuio.so.60.3
    /usr/lib64/libicuio.so.73
    /usr/lib64/libicuio.so.73.2
    /usr/lib64/libicutest.so
    /usr/lib64/libicutest.so.60
    /usr/lib64/libicutest.so.60.3
    /usr/lib64/libicutest.so.73
    /usr/lib64/libicutest.so.73.2
    /usr/lib64/libicutu.so
    /usr/lib64/libicutu.so.60
    /usr/lib64/libicutu.so.60.3
    /usr/lib64/libicutu.so.73
    /usr/lib64/libicutu.so.73.2
    /usr/lib64/libicuuc.so
    /usr/lib64/libicuuc.so.60
    /usr/lib64/libicuuc.so.60.3
    /usr/lib64/libicuuc.so.73
    /usr/lib64/libicuuc.so.73.2
    


    I have now traced this error in the log file :
    Code (Text):
    ls -lAh /usr/lib64 | grep onig
    lrwxrwxrwx.  1 root root    18 May  2  2022 libonig.so -> libonig.so.105.3.0
    lrwxrwxrwx.  1 root root    18 May  2  2022 libonig.so.105 -> libonig.so.105.3.0
    -rwxr-xr-x.  1 root root  606K May  2  2022 libonig.so.105.3.0
    lrwxrwxrwx.  1 root root    16 Aug 31  2020 libonig.so.5 -> libonig.so.5.0.0
    -rwxr-xr-x.  1 root root  531K Aug 31  2020 libonig.so.5.0.0
    
    NEWLIBICU=y
    NEWLIBICU=y
    yum -y install libicu73 libicu73-devel --allowerasing --enablerepo=remi --disablerepo=epel
    Last metadata expiration check: 0:00:07 ago on Mon 18 Dec 2023 09:52:42 AM UTC.
    No match for argument: libicu73
    No match for argument: libicu73-devel
    Error: Unable to find a match: libicu73 libicu73-devel
    yum -y install libicu73 libicu73-devel --allowerasing --enablerepo=remi --disablerepo=epel
    Last metadata expiration check: 0:00:08 ago on Mon 18 Dec 2023 09:52:42 AM UTC.
    No match for argument: libicu73
    No match for argument: libicu73-devel
    Error: Unable to find a match: libicu73 libicu73-devel
    Error: Unable to find a match: expect-devel
    
    gcc (GCC) 9.2.1 20191120 (Red Hat 9.2.1-2)
    Copyright (C) 2019 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
    



    I have now tried to run the yum manually to no avail!
    Code (Text):
    # yum -y install libicu73 libicu73-devel --allowerasing --enablerepo=remi --disablerepo=epel
    Last metadata expiration check: 9:59:26 ago on Tue 19 Dec 2023 12:45:49 AM UTC.
    No match for argument: libicu73
    No match for argument: libicu73-devel
    Error: Unable to find a match: libicu73 libicu73-devel
    


    I noticed that remi-safe was disabled and re-enabled it...

    on another system I queried
    Code (Text):
    ID     | Command line                                      | Date and time    | Action(s)      | Altered
    --------------------------------------------------------------------------------------------------------
        28 | -y install libicu73 libicu73-devel --allowerasing | 2023-12-19 05:43 | Install        |    2
    
    


    but doing this on this server didn't work. not sure what to do next
    Code (Text):
     yum -v -y install libicu73 libicu73-devel --allowerasing --enablerepo=remi --disablerepo=epel
    Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade, versionlock
    YUM version: 4.7.0
    cachedir: /var/cache/dnf
    User-Agent: constructed: 'libdnf (AlmaLinux 8.9; generic; Linux.x86_64)'
    repo: using cache for: baseos
    baseos: using metadata from Tue 19 Dec 2023 06:16:56 AM UTC.
    repo: using cache for: appstream
    appstream: using metadata from Tue 19 Dec 2023 06:17:10 AM UTC.
    repo: using cache for: extras
    extras: using metadata from Tue 19 Dec 2023 06:18:34 AM UTC.
    repo: using cache for: powertools
    powertools: using metadata from Tue 19 Dec 2023 06:17:22 AM UTC.
    repo: using cache for: mariadb
    mariadb: using metadata from Fri 10 Nov 2023 09:15:16 PM UTC.
    repo: using cache for: prel-release-noarch
    prel-release-noarch: using metadata from Thu 16 Sep 2021 06:35:55 AM UTC.
    repo: using cache for: tools-release-x86_64
    tools-release-x86_64: using metadata from Mon 18 Dec 2023 08:16:23 AM UTC.
    repo: using cache for: remi
    remi: using metadata from Wed 30 Aug 2023 12:46:16 PM UTC.
    repo: using cache for: remi-modular
    remi-modular: using metadata from Wed 30 Aug 2023 12:49:05 PM UTC.
    repo: using cache for: remi-safe
    remi-safe: using metadata from Wed 30 Aug 2023 12:47:26 PM UTC.
    Last metadata expiration check: 0:00:04 ago on Tue 19 Dec 2023 11:54:45 AM UTC.
    Versionlock plugin: number of lock rules from file "/etc/dnf/plugins/versionlock.list" applied: 7
    Excludes in dnf.conf: *.i686
    Excludes in repo mariadb: MariaDB-Galera-server
    No match for argument: libicu73
    No match for argument: libicu73-devel
    Error: Unable to find a match: libicu73 libicu73-devel
    
     
  5. eva2000

    eva2000 Administrator Staff Member

    51,210
    11,898
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,372
    Local Time:
    10:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    Strange, on working system I see them available on Almalinux 8
    Code (Text):
    yum -q list libicu73 libicu73-devel --enablerepo=remi --disablerepo=epel
    Installed Packages
    libicu73.x86_64                      73.2-1.el8.remi                 @remi
    libicu73-devel.x86_64                73.2-1.el8.remi                 @remi
    

    Code (Text):
    yum -q list libicu* libicu*-devel --enablerepo=remi --disablerepo=epel
    Installed Packages
    libicu.x86_64                       60.3-2.el8_1                   @baseos
    libicu73.x86_64                     73.2-1.el8.remi                @remi
    libicu73-devel.x86_64               73.2-1.el8.remi                @remi
    Available Packages
    libicu-devel.x86_64                 60.3-2.el8_1                   baseos
    libicu-doc.noarch                   60.3-2.el8_1                   baseos
    libicu62.x86_64                     62.2-1.el8.remi                remi 
    libicu62-devel.x86_64               62.2-1.el8.remi                remi 
    libicu62-doc.noarch                 62.2-1.el8.remi                remi 
    libicu65.x86_64                     65.1-1.el8.remi                remi 
    libicu65-devel.x86_64               65.1-1.el8.remi                remi 
    libicu65-doc.noarch                 65.1-1.el8.remi                remi 
    libicu69.x86_64                     69.1-4.el8.remi                remi 
    libicu69-devel.x86_64               69.1-4.el8.remi                remi 
    libicu69-doc.noarch                 69.1-4.el8.remi                remi 
    libicu71.x86_64                     71.1-2.el8.remi                remi 
    libicu71-devel.x86_64               71.1-2.el8.remi                remi 
    libicu71-doc.noarch                 71.1-2.el8.remi                remi 
    libicu72.x86_64                     72.1-1.el8.remi                remi 
    libicu72-devel.x86_64               72.1-1.el8.remi                remi 
    libicu72-doc.noarch                 72.1-1.el8.remi                remi 
    libicu73-doc.noarch                 73.2-1.el8.remi                remi
    

    But you you check REMI primary mirror, libicu71/72/73 are now missing Remi's RPM repository - enterprise - 8 - remi - x86_64 ?

    even EL9 has libicu71/72/73 missing Remi's RPM repository - enterprise - 9 - remi - x86_64

    what if you run
    Code (Text):
    yum clean all
    yum -v list libicu73 libicu73-devel --enablerepo=remi --disablerepo=epel
    
     
  6. fablab

    fablab New Member

    20
    2
    3
    May 23, 2020
    Ratings:
    +6
    Local Time:
    3:32 PM
    1.25.3
    MariaDB-server-10.4.31-1.el7.centos.x86_64
    Not much luck with that command
    Code (Text):
    yum clean all
    yum -v list libicu73 libicu73-devel --enablerepo=remi --disablerepo=epel
    


    I had also tried a yum makecache before your suggestion ... but that didn't help .

    Code (Text):
    # yum -v list libicu73 libicu73-devel --enablerepo=remi --disablerepo=epel
    Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade, versionlock
    YUM version: 4.7.0
    cachedir: /var/cache/dnf
    User-Agent: constructed: 'libdnf (AlmaLinux 8.9; generic; Linux.x86_64)'
    repo: downloading from remote: baseos
    countme: no event for baseos: window already counted
    AlmaLinux 8 - BaseOS                                                                                                                                                                                                         8.8 MB/s | 4.0 MB     00:00
    baseos: using metadata from Tue 19 Dec 2023 06:16:56 AM UTC.
    repo: downloading from remote: appstream
    countme: no event for appstream: window already counted
    AlmaLinux 8 - AppStream                                                                                                                                                                                                       22 MB/s |  11 MB     00:00
    appstream: using metadata from Tue 19 Dec 2023 06:17:10 AM UTC.
    repo: downloading from remote: extras
    countme: no event for extras: window already counted
    AlmaLinux 8 - Extras                                                                                                                                                                                                          55 kB/s |  20 kB     00:00
    extras: using metadata from Tue 19 Dec 2023 06:18:34 AM UTC.
    repo: downloading from remote: powertools
    countme: no event for powertools: window already counted
    AlmaLinux 8 - PowerTools                                                                                                                                                                                                     7.0 MB/s | 3.0 MB     00:00
    powertools: using metadata from Tue 19 Dec 2023 06:17:22 AM UTC.
    repo: downloading from remote: mariadb
    MariaDB                                                                                                                                                                                                                      502 kB/s | 555 kB     00:01
    mariadb: using metadata from Fri 10 Nov 2023 09:15:16 PM UTC.
    repo: downloading from remote: prel-release-noarch
    Percona Release release/noarch YUM repository                                                                                                                                                                                 20 kB/s | 1.8 kB     00:00
    prel-release-noarch: using metadata from Thu 16 Sep 2021 06:35:55 AM UTC.
    repo: downloading from remote: tools-release-x86_64
    Percona Tools release/x86_64 YUM repository                                                                                                                                                                                   18 MB/s | 4.9 MB     00:00
    tools-release-x86_64: using metadata from Mon 18 Dec 2023 08:16:23 AM UTC.
    repo: downloading from remote: remi
    Remi's RPM repository for Enterprise Linux 8 - x86_64                                                                                                                                                                         15 MB/s | 4.8 MB     00:00
    remi: using metadata from Wed 30 Aug 2023 12:46:16 PM UTC.
    repo: downloading from remote: remi-modular
    Remi's Modular repository for Enterprise Linux 8 - x86_64                                                                                                                                                                    5.2 MB/s | 1.3 MB     00:00
    remi-modular: using metadata from Wed 30 Aug 2023 12:49:05 PM UTC.
    repo: downloading from remote: remi-safe
    Safe Remi's RPM repository for Enterprise Linux 8 - x86_64                                                                                                                                                                   9.8 MB/s | 2.5 MB     00:00
    remi-safe: using metadata from Wed 30 Aug 2023 12:47:26 PM UTC.
    Completion plugin: Generating completion cache...
    Excludes from versionlock plugin were not applied
    Excludes in dnf.conf: *.i686
    Excludes in repo mariadb: MariaDB-Galera-server
    Error: No matching Packages to list
    


    I see the metadata is from August for the Remi* repos.
    https://mirror.23m.com/remi/enterprise/8/safe/aarch64/repoview/libicu73.html shows that the package was updated (created?) in October .
    Maybe I am pointing to a broken mirror?
    I am not sure how to force to go to a different mirror ...
    I change the mirror site by commenting the mirrorlist =cdn line and uncommenting the other mirrorlist=rpms , but that didn't help...

    Code (Text):
    [remi-safe]
    name=Safe Remi's RPM repository for Enterprise Linux 8 - $basearch
    #baseurl=http://rpms.remirepo.net/enterprise/8/safe/$basearch/
    mirrorlist=https://rpms.remirepo.net/enterprise/8/safe/$basearch/httpsmirror
    #mirrorlist=http://cdn.remirepo.net/enterprise/8/safe/$basearch/mirror
    enabled=1
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
    
    [remi-safe-debuginfo]
    name=Remi's RPM repository for Enterprise Linux 8 - $basearch - debuginfo
    baseurl=http://rpms.remirepo.net/enterprise/8/debug-remi/$basearch/
    enabled=0
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
    
     
  7. eva2000

    eva2000 Administrator Staff Member

    51,210
    11,898
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,372
    Local Time:
    10:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    On this failed Almalinux 8 server, run cmupdate command to pull in a commited workaround I just pushed to 130.00beta01 - it will fallback to libicu69 if libicu73 isn't found. Then run centmin.sh menu option 5 and recompile the desired PHP version and see if that works.
     
  8. eva2000

    eva2000 Administrator Staff Member

    51,210
    11,898
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,372
    Local Time:
    10:32 PM
    Nginx 1.25.x
    MariaDB 10.x
  9. fablab

    fablab New Member

    20
    2
    3
    May 23, 2020
    Ratings:
    +6
    Local Time:
    3:32 PM
    1.25.3
    MariaDB-server-10.4.31-1.el7.centos.x86_64
    SORTED.

    I commented the mirrorlist line and uncommented to baseurl in [remi-safe] and [remi] sections of
    /etc/yum.repos.d/remi-safe.repo and /etc/yum.repos.d/remi.repo

    Thank you Eva!

    Code (Text):
    [remi-safe]
    name=Safe Remi's RPM repository for Enterprise Linux 8 - $basearch
    #baseurl=http://rpms.remirepo.net/enterprise/8/safe/$basearch/
    #mirrorlist=https://rpms.remirepo.net/enterprise/8/safe/$basearch/httpsmirror
    mirrorlist=http://cdn.remirepo.net/enterprise/8/safe/$basearch/mirror
    enabled=1
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
    
    [remi-safe-debuginfo]
    name=Remi's RPM repository for Enterprise Linux 8 - $basearch - debuginfo
    baseurl=http://rpms.remirepo.net/enterprise/8/debug-remi/$basearch/
    enabled=0
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
    


    to

    Code (Text):
    [remi-safe]
    name=Safe Remi's RPM repository for Enterprise Linux 8 - $basearch
    baseurl=http://rpms.remirepo.net/enterprise/8/safe/$basearch/
    #mirrorlist=https://rpms.remirepo.net/enterprise/8/safe/$basearch/httpsmirror
    #mirrorlist=http://cdn.remirepo.net/enterprise/8/safe/$basearch/mirror
    enabled=1
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
    
    [remi-safe-debuginfo]
    name=Remi's RPM repository for Enterprise Linux 8 - $basearch - debuginfo
    baseurl=http://rpms.remirepo.net/enterprise/8/debug-remi/$basearch/
    enabled=0
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
    
     
  10. eva2000

    eva2000 Administrator Staff Member

    51,210
    11,898
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,372
    Local Time:
    10:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    Well REMI developer on Discord said the issue may come back with your workaround as it's a cache discrepancy issue for metadata checks (DNF bug). Better solution suggested by Remi is to disable metadata checks by setting in remi*.repo repo_gpgcheck=0. Remi may change his YUM repos to default to repo_gpgcheck=0 in future too.
    Code (Text):
    grep repo_gpgcheck /etc/yum.repos.d/remi*.repo
    /etc/yum.repos.d/remi-modular.repo:repo_gpgcheck=1
    /etc/yum.repos.d/remi-modular.repo:repo_gpgcheck=1
    /etc/yum.repos.d/remi-modular.repo:repo_gpgcheck=1
    /etc/yum.repos.d/remi-modular.repo:repo_gpgcheck=1
    /etc/yum.repos.d/remi.repo:repo_gpgcheck=1
    /etc/yum.repos.d/remi.repo:repo_gpgcheck=1
    /etc/yum.repos.d/remi.repo:repo_gpgcheck=1
    /etc/yum.repos.d/remi.repo:repo_gpgcheck=1
    /etc/yum.repos.d/remi-safe.repo:repo_gpgcheck=1
    /etc/yum.repos.d/remi-safe.repo:repo_gpgcheck=1
    

    so change via sed edit
    Code (Text):
    sed -i 's|repo_gpgcheck=1|repo_gpgcheck=0|g' /etc/yum.repos.d/remi*.repo
    yum clean all
    yum makecache
    

    re-verify disabled repo_gpgcheck=0
    Code (Text):
    grep repo_gpgcheck /etc/yum.repos.d/remi*.repo
    /etc/yum.repos.d/remi-modular.repo:repo_gpgcheck=0
    /etc/yum.repos.d/remi-modular.repo:repo_gpgcheck=0
    /etc/yum.repos.d/remi-modular.repo:repo_gpgcheck=0
    /etc/yum.repos.d/remi-modular.repo:repo_gpgcheck=0
    /etc/yum.repos.d/remi.repo:repo_gpgcheck=0
    /etc/yum.repos.d/remi.repo:repo_gpgcheck=0
    /etc/yum.repos.d/remi.repo:repo_gpgcheck=0
    /etc/yum.repos.d/remi.repo:repo_gpgcheck=0
    /etc/yum.repos.d/remi-safe.repo:repo_gpgcheck=0
    /etc/yum.repos.d/remi-safe.repo:repo_gpgcheck=0
    

    Will add this to next commit in 130.00beta01 in next few hours
     
  11. buik

    buik “The best traveler is one without a camera.”

    1,944
    507
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,620
    Local Time:
    1:32 PM
    And is this bug reported to Red Hat so they can fix this?
     
  12. eva2000

    eva2000 Administrator Staff Member

    51,210
    11,898
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,372
    Local Time:
    10:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    Remi said it was a DNF design issue but he considers it's a bug. So sounds like it's how DNF is designed.
     
  13. buik

    buik “The best traveler is one without a camera.”

    1,944
    507
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,620
    Local Time:
    1:32 PM
    Then it probably won't be fixed anymore, since they are busy working on a new DNF: version 5.
     
  14. fablab

    fablab New Member

    20
    2
    3
    May 23, 2020
    Ratings:
    +6
    Local Time:
    3:32 PM
    1.25.3
    MariaDB-server-10.4.31-1.el7.centos.x86_64
    Very well Eva!
    I reverted my workaround and applied the sed workaround as you/Remi suggested...
    Can't believe I hit a DNF bug :)

    Thank you, as always, for the great support on an amazing product!
    F.

     
  15. eva2000

    eva2000 Administrator Staff Member

    51,210
    11,898
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,372
    Local Time:
    10:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    Yeah you nailed 2 bugs in one hit - one for Centmin Mod and one for DNF/REMI :D
     
  16. eva2000

    eva2000 Administrator Staff Member

    51,210
    11,898
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,372
    Local Time:
    10:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    FYI, Remi has also updated his repo configs to default to repo_gpgcheck=0 as well, so most YUM REMI using folks on any distro will also benefit from this bug fix :)