Error updating to PHP 8.0.1

Pieter

Verified User
Joined
Mar 27, 2016
Messages
19
Got a message to update PHP 8.0.0 to 8.0.1 (Custombuild 2.0.0 rev:2648)

Updating shows the following error:
checking if iconv supports errno... no
configure: error: iconv does not support errno

*** There was an error while trying to configure php. Check the configure file

Tried
cd /usr/local/directadmin/custombuild
./build update
./build php

But unfortunately it shows the same error. Any ideas?
 
You've got 3 options:

Option 1:
  1. cd /usr/local/directadmin/custombuild
  2. ./build iconv
Option 2:
  1. rm -f /usr/local/lib/libiconv*
    rm -f /usr/local/bin/iconv
    rm -f /usr/local/include/iconv.h
  2. cd /usr/local/directadmin/custombuild
  3. ./build all d
Option 3:
  1. Remove "--with-iconv-dir" from /usr/local/directadmin/custombuild/custom/php/configure.php80

Some bugs always come back, first notice was back in 2005!
 
You've got 3 options:

Option 1:
  1. cd /usr/local/directadmin/custombuild
  2. ./build iconv
Option 2:
  1. rm -f /usr/local/lib/libiconv*
    rm -f /usr/local/bin/iconv
    rm -f /usr/local/include/iconv.h
  2. cd /usr/local/directadmin/custombuild
  3. ./build all d
Option 3:
  1. Remove "--with-iconv-dir" from /usr/local/directadmin/custombuild/custom/php/configure.php80

Some bugs always come back, first notice was back in 2005!
Option 1 did nothing and the line in option 3 was not listed in my config.
Eventually renamed the files listed in option 2 and it worked!

Thank you for the suggestions!

All the best,
Pieter
 
More accurate: Do't install php 8 yet, once it's 5 monts or so in GA it'l be fine
Yes exactly. You have been reading my old posts.. Everytime a New PHP comes out. Just pretend its not there..for about 5-6 months. It's never bug free.
 
You've got 3 options:

Option 1:
  1. cd /usr/local/directadmin/custombuild
  2. ./build iconv
Option 2:
  1. rm -f /usr/local/lib/libiconv*
    rm -f /usr/local/bin/iconv
    rm -f /usr/local/include/iconv.h
  2. cd /usr/local/directadmin/custombuild
  3. ./build all d
Option 3:
  1. Remove "--with-iconv-dir" from /usr/local/directadmin/custombuild/custom/php/configure.php80

Some bugs always come back, first notice was back in 2005!
Option 2 broke my server... Icannot even use yum anymore. (n)

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

libiconv.so.2: cannot open shared object file: No such file or directory
 
Option 2 broke my server... Icannot even use yum anymore. (n)

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

libiconv.so.2: cannot open shared object file: No such file or directory
You used some information from about 4 years ago. That’s probably why
 
You used some information from about 4 years ago. That’s probably why
Have resolved this by doing:
da build remove_items - remove all libraries except iconv.
da build remove_old_local libiconv - remove iconv.
da build all - rebuild everything. Note: after iconv is removed, but before everything is rebuilt some services will not work if restarted.

Now DA doesn’t work anymore and no idea how to repair.
 
@kimbo, please open a support ticket if you need help resolving this.
 
Back
Top