-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi domoticz[4816]: /opt/domoticz/domoticz: error while loading shared libraries: │ libcurl-gnutls.so.4: cannot open shared object file: No such file or directory #6404
Comments
Many thanks for your report. Seems like the new release explicitly depends on the GnuTLS variant of libcurl instead of the one which uses OpenSSL. Does this work? apt install libcurl3-gnutls
systemctl restart domoticz EDIT: Verified: https://github.com/MichaIng/DietPi/actions/runs/5149343938/jobs/9272223879 |
Ah, the reason may be the problem with libssl1.1 vs libssl3 (the OpenSSL library). It can only depend on either one or the other version, which makes it impossible to build one Domoticz binary that works on Debian up to Bullseye as well as on Debian Bookworm (and some for other distros which moved to libssl3). And Domoticz has no infrastructure to ship different binaries for different distro versions. Switching to GnuTLS might have been their solution. If so, this means we can re-enable it for Bookworm, which is great. |
PR up: #6402 |
Thanks, tested the solution and it's ok |
Creating a bug report/issue
Required Information
G_DIETPI_VERSION_SUB=18
G_DIETPI_VERSION_RC=0
G_GITBRANCH='beta'
G_GITOWNER='MichaIng'
Linux DietPi 5.15.93-rockchip64 #23.02.2 SMP PREEMPT Fri Feb 17 23:48:36 UTC 2023 aarch64 GNU/Linux
Additional Information (if applicable)
Steps to reproduce
Install the programm Domoticz from dietpi-software
Domticz not started, DietPi-Services shows "State: failed"
Status : Display systemd status log
domoticz.service - Domoticz (DietPi) │
│ Loaded: loaded (/etc/systemd/system/domoticz.service; enabled; vendor preset: enabled) │
│ Active: failed (Result: exit-code) since Thu 2023-06-01 23:39:50 MSK; 34min ago │
│ Process: 4816 ExecStart=/opt/domoticz/domoticz -f /mnt/dietpi_userdata/domoticz/domoticz.conf (code=exited, │
│ status=127) │
│ Main PID: 4816 (code=exited, status=127) │
│ CPU: 18ms │
│ │
│ Jun 01 23:39:50 DietPi systemd[1]: Started Domoticz (DietPi). │
│ Jun 01 23:39:50 DietPi domoticz[4816]: /opt/domoticz/domoticz: error while loading shared libraries: │
│ libcurl-gnutls.so.4: cannot open shared object file: No such file or directory │
│ Jun 01 23:39:50 DietPi systemd[1]: domoticz.service: Main process exited, code=exited, status=127/n/a │
│ Jun 01 23:39:50 DietPi systemd[1]: domoticz.service: Failed with result 'exit-code'.
The text was updated successfully, but these errors were encountered: