Hi
I wanted to update PHP8 but was unable because of the old library libiconv 1.16.
There are more threads to find on this forum, but none are very clear on how to proceed without downtime.
I want to delete libiconv 1.16 and move over to the system provided libiconv library 2.28
I am running rocky 8.
I have systems running with Libiconv 1.16 installed with custombuild, and some systems running without it, using the system provided libiconv library 2.28.
I have managed to compile PHP8x by renaming the header and binary file of libiconv by doing so:
Everything seems to work,
but I notice PHP is still using the old libiconv library even it is compiled with version 2.28.
Even the system provided packages rngd and named are using the old libiconv library.
If I remove the library /usr/local/lib/libiconv.so.2.6.1, many things break, I am unable to do so.
Can anyone point me in the right direction on how to remove /usr/local/lib/libiconv.so.2.6.1 without breaking my system?
Kind regards
Dries
I wanted to update PHP8 but was unable because of the old library libiconv 1.16.
There are more threads to find on this forum, but none are very clear on how to proceed without downtime.
I want to delete libiconv 1.16 and move over to the system provided libiconv library 2.28
I am running rocky 8.
I have systems running with Libiconv 1.16 installed with custombuild, and some systems running without it, using the system provided libiconv library 2.28.
I have managed to compile PHP8x by renaming the header and binary file of libiconv by doing so:
mv /usr/local/include/iconv.h /usr/local/include/iconv.h-
mv /usr/local/bin/iconv /usr/local/bin/iconv-
./build imagemagick
./build php
./build exim
./build dovecot
./build httpd
./build proftpd
Everything seems to work,
but I notice PHP is still using the old libiconv library even it is compiled with version 2.28.
Code:
[custombuild]# lsof /usr/local/lib/libiconv.so.2.6.1
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
rngd 962 daemon mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm82 408755 root mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm81 408780 root mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm80 408804 root mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm74 408829 root mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm81 414498 webapps mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
proftpd 427468 ftp mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm81 427998 webapps mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm81 429639 webapps mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
named 432413 named mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm80 433203 lyra mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm80 433315 berton mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm80 433317 berton mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm74 433392 chinboek mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm82 433395 viet mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm82 433399 viet mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm82 433402 webapps mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm80 433404 cdlweb mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm74 433405 yonahkrank mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm74 433407 yonahkrank mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
php-fpm80 433409 storanza mem REG 202,3 1740680 998164 /usr/local/lib/libiconv.so.2.6.1
Even the system provided packages rngd and named are using the old libiconv library.
If I remove the library /usr/local/lib/libiconv.so.2.6.1, many things break, I am unable to do so.
Can anyone point me in the right direction on how to remove /usr/local/lib/libiconv.so.2.6.1 without breaking my system?
Kind regards
Dries