So it all started with the message that custombuild was out of date so i checked the help page of directadmin and updated following the instructions from the mail.
When the command ./build all d stoped with the following error:
so i was like, oke mcrypt is old and deprecated maybe it now a good time to update the PHP nr1 to PHP7.2 and set PHP nr2 to PHP7.3. so i updated the versions in optoins.conf and fire the command ./build php n
this time the mcrypt error was gone but a new error was there.
so a few google hits later i runned the command ./build libsodium, ./build icu, ./build mcrypt and even did downgrade the libsodium to 1.0.17 and 1.0.16.
so i checked if the combination PHP7.3 and PHP7.4 is a good but still same issue with libsodium.
ps: build version of custombuild
When the command ./build all d stoped with the following error:
Code:
checking for libmcrypt version... >= 2.5.6
checking for mcrypt_module_open in -lmcrypt... no
checking for mcrypt_module_open in -lmcrypt... no
configure: error: Sorry, I was not able to diagnose which libmcrypt version you have installed.
*** There was an error while trying to configure php. Check the configure file
so i was like, oke mcrypt is old and deprecated maybe it now a good time to update the PHP nr1 to PHP7.2 and set PHP nr2 to PHP7.3. so i updated the versions in optoins.conf and fire the command ./build php n
this time the mcrypt error was gone but a new error was there.
Code:
checking if getaddrinfo supports AI_ALL... yes
checking if getaddrinfo supports AI_IDN... yes
checking for sodium support... yes
checking for pkg-config... (cached) /bin/pkg-config
checking for libsodium... found in /usr/local
checking for sodium_add in -lsodium... no
configure: error: wrong libsodium lib version (< 1.0.8) or lib not found
*** There was an error while trying to configure php. Check the configure file
so a few google hits later i runned the command ./build libsodium, ./build icu, ./build mcrypt and even did downgrade the libsodium to 1.0.17 and 1.0.16.
Code:
custombuild.log
2020-04-07 11:27:40 : libsodium 1.0.18 installed
2020-04-07 11:39:38 : libsodium 1.0.18 installed
2020-04-07 11:39:40 : called: libsodium
2020-04-07 14:57:02 : mcrypt 2.5.8 installed
2020-04-07 14:57:10 : called: mcrypt
2020-04-07 15:02:25 : ICU 66_1 installed
2020-04-07 15:02:27 : called: icu
2020-04-07 15:39:59 : ICU 66_1 installed
2020-04-07 15:40:01 : called: icu
2020-04-07 15:57:39 : ICU 66_1 installed
2020-04-07 15:57:41 : called: icu
2020-04-07 16:03:44 : libsodium 1.0.18 installed
2020-04-07 16:03:46 : called: libsodium
so i checked if the combination PHP7.3 and PHP7.4 is a good but still same issue with libsodium.
ps: build version of custombuild
Code:
./build version
2.0.0 (rev: 2465)