CrazyFrog
Verified User
- Joined
- Aug 28, 2019
- Messages
- 42
Hello DA wizards,
I'm trying to update PHP 8.0 to 8.1.
On my test box I ran into a problem: `configure: error: iconv does not support errno`
That was solved successfully thanks to a forum search, by doing:
Now of course, I'm trying it on a production machine, and it all goes wrong
The `./build all` tries to build ModSecurity, but that fails because /usr/local/lib/libnghttp2.la is not there:
It seems that it's still trying to look for a libnghttp2 in /usr/local, but that was removed:
Would be much appreciated, cause I'm stumped!
Thanks!
CF
I'm trying to update PHP 8.0 to 8.1.
On my test box I ran into a problem: `configure: error: iconv does not support errno`
That was solved successfully thanks to a forum search, by doing:
Everything built and it worked perfectly!cd /usr/local/directadmin/custombuild
./build set php1_release "8.1"
./build update
./build remove_items
./build remove_old_local libiconv
./build all
./build rewrite_confs
Now of course, I'm trying it on a production machine, and it all goes wrong

The `./build all` tries to build ModSecurity, but that fails because /usr/local/lib/libnghttp2.la is not there:
Fortunately I had made a snapshot of the machine so I could revert./bin/sed: can't read /usr/local/lib/libnghttp2.la: No such file or directory
libtool: error: '/usr/local/lib/libnghttp2.la' is not a valid libtool archive
make[2]: Leaving directory '/usr/local/directadmin/custombuild/modsecurity-2.9.7/apache2'
make[2]: *** [Makefile:712: mod_security2.la] Error 1
make[1]: *** [Makefile:612: all] Error 2
make[1]: Leaving directory '/usr/local/directadmin/custombuild/modsecurity-2.9.7/apache2'
*** The make has failed. Exiting...
It seems that it's still trying to look for a libnghttp2 in /usr/local, but that was removed:
But the system provided libnghttp2 is installed and should be usable:local package 'libnghttp2' is removed, it can be restored with command:
da build restore_old_local libnghttp2
Does anyone have debugging tips?dpkg -l|grep libnghttp
ii libnghttp2-14:amd64 1.40.0-1ubuntu0.1 amd64 library implementing HTTP/2 protocol (shared library)
ii libnghttp2-dev 1.40.0-1ubuntu0.1 amd64 library implementing HTTP/2 protocol (development files)
Would be much appreciated, cause I'm stumped!
Thanks!
CF