Hallo, ich habe zum Test meinen Raspi auf PHP 8.0.3 upgedated.
Wenn ich nun per PHP Messwerte von Homegear abfrage, kommt dieser Fehler im PHP Logfile gleich beim ersten “$Client->listInterfaces();”:
==> php8.0-cli.log <==
[14-Mar-2021 15:22:04 Europe/Berlin] PHP Warning: PHP Startup: Unable to load dynamic library 'xmlrpc.so' (tried: /usr/lib/php/20200930/xmlrpc.so (/usr/lib/php/20200930/xmlrpc.so: undefined symbol: XML_GetErrorCode), /usr/lib/php/20200930/xmlrpc.so.so (/usr/lib/php/20200930/xmlrpc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[14-Mar-2021 15:22:04 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined function XMLRPC\xmlrpc_encode_request() in /var/lib/homegear/scripts/HM-XMLRPC-Client/Client.php:227
Stack trace:
#0 /var/lib/homegear/scripts/HM-XMLRPC-Client/Client.php(235): XMLRPC\Client->send()
#1 /opt/automation/test_temp.php(26): XMLRPC\Client->__call()
#2 {main}
thrown in /var/lib/homegear/scripts/HM-XMLRPC-Client/Client.php on line 227
[14-Mar-2021 15:25:01 Europe/Berlin] PHP Warning: PHP Startup: Unable to load dynamic library 'xmlrpc.so' (tried: /usr/lib/php/20200930/xmlrpc.so (/usr/lib/php/20200930/xmlrpc.so: undefined symbol: XML_GetErrorCode), /usr/lib/php/20200930/xmlrpc.so.so (/usr/lib/php/20200930/xmlrpc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[14-Mar-2021 15:25:02 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined function XMLRPC\xmlrpc_encode_request() in /var/lib/homegear/scripts/HM-XMLRPC-Client/Client.php:227
Stack trace:
#0 /var/lib/homegear/scripts/HM-XMLRPC-Client/Client.php(235): XMLRPC\Client->send()
#1 /opt/automation/automation_mtr.php(351): XMLRPC\Client->__call()
#2 /opt/automation/automation_mtr.php(411): readMeter()
#3 {main}
thrown in /var/lib/homegear/scripts/HM-XMLRPC-Client/Client.php on line 227
Es ist wohl eine Inkompatibilität mit oder von “xmlrpc”.
Installiert ist:
libhomegear-base: 0.8.0-3101
libhomegear-node: 0.1.7-53
libhomegear-ipc: 0.1.2-42
php8.0-xmlrpc (ganz normal via ‘apt install’)
Version von xmlrpc: 3:1.0.0~rc2-5+0~20210223.4+debian10~1.gbp4dc175
Jemand einen Tipp wie ich das wieder zum Laufen bringe? Danke!