all your problems seem to stem from the CURL_OPENSSL_3 which has been deprecated by ubuntu since version 18.x. You need to either force install lib curl.so.3 or try running this on ubuntu 16... or maybe have z-way-server support curl4
Yes .… ZWay-server support for curl4 would be the solution that fixes the problem. Till then i'm using a 16.X version of ubuntu… or i go back to my raspi.
sudo LD_LIBRARY_PATH=./libs LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libcurl3.4.5.0 ./z-way-server
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libcurl3.4.5.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
./z-way-server: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
sudo LD_LIBRARY_PATH=./libs LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libcurl3.4.5.0 ./z-way-server
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libcurl3.4.5.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Z-Way version v3.0.6 from 2020-04-28 13:52:20 +0300 (build 82a4fd59993dc610c06507351714f95f21475262)
Looking for modules in ./modules
SSL DEBUG LOCK: 20 > 1
SSL DEBUG LOCK: 20 > 0
SSL DEBUG LOCK: 20 > 1
SSL DEBUG LOCK: 20 > 0
Module modcrypto.so loaded
Module modzwave.so loaded
Module modhomekit.so loaded
Failed to load module modhttp.so: /lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./modules/modhttp.so)
Failed to load module modws.so: libssl.so.1.0.0: cannot open shared object file: No such file or directory
Failed to load module modnotification2ext.so: /lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./modules/modnotification2ext.so)
Module modzbw.so loaded
Failed to load module modskininstaller.so: /lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./modules/modskininstaller.so)
Failed to load module modinstaller.so: /lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./modules/modinstaller.so)
Module moddhs.so loaded
Module modsockets.so loaded
Failed to load module modiconinstaller.so: /lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./modules/modiconinstaller.so)
Module modenocean.so loaded
Using default configuration file config.xml
Error: 'debug-port' number is out of range. Skipping it.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libcurl3.4.5.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libcurl3.4.5.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
cat: /etc/z-way/box_type: No such file or directory
Correted the typo to LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libcurl3.so.4.5.0 but stillnot working
Further problem ist that libcurl3 has no longer a install-candidate on ubuntu 20.X. It seems that one has to add a 16.X repo and install it from there….