Domoticz, Ubuntu & "error while loading shared libraries: libssl.so.1.1" Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
Marque1968
Posts: 60
Joined: Tuesday 03 April 2018 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Domoticz, Ubuntu & "error while loading shared libraries: libssl.so.1.1"

Post by Marque1968 »

I am now trying for toooo long to get Domoticz even started on Ubuntu 22.04.1. Docker does not work, so I went back to the normal version. The Domoticz dir structure looks as all is proper, but I run into:

error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Yes I downloaded and installed the 1.1.1 version:

Code: Select all

cd /tmp
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.17_i386.deb
sudo dpkg -i ./libssl1.1_1.1.1f-1ubuntu2.17_i386.deb
I restarted the system but

Code: Select all

cd ~/domoticz
domoticz
results in the above mentioned error.

I tried in /lib/x86_64-linux-gnu to create a symlink for libssl.so.3 to libssel.so.1.1.
This gave the same kind of error for libcrypto. So I created also a symlink for libcrypte.so.3 to libcrypto.so.1.1
However, after having done that, I got errors that it had the wrong version (forgot to save the exact error). So I had to drop the symlink idea again.

I tried to dowload from https://packages.debian.org/stretch/i38 ... 1/download and install it.

Code: Select all

Database wordt ingelezen ... 270953 bestanden en mappen momenteel geïnstalleerd.)
Uitpakken van libssl1.1_1.1.0l-1~deb9u6_i386.deb wordt voorbereid...
Bezig met uitpakken van libssl1.1:i386 (1.1.0l-1~deb9u6) over (1.1.0l-1~deb9u6) ...
Instellen van libssl1.1:i386 (1.1.0l-1~deb9u6) ...
Bezig met afhandelen van triggers voor libc-bin (2.35-0ubuntu3.1) ...
but still, no running Domoticz.

I'm about to give up on Domoticz, so I hope somebody can help me.
User avatar
reewoude
Posts: 2
Joined: Sunday 26 February 2023 22:25
Target OS: Linux
Domoticz version: Beta
Location: Limburg
Contact:

Re: Domoticz, Ubuntu & "error while loading shared libraries

Post by reewoude »

Can this be of any help? it's on github domoticz/domoticz issue 5233: Domoticz doesn't start after ubuntu update (Due to OpenSSL3)

martin
BunsenLabs Linux
HP-T620
Marque1968
Posts: 60
Joined: Tuesday 03 April 2018 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Domoticz, Ubuntu & "error while loading shared libraries: libssl.so.1.1"

Post by Marque1968 »

Thank you. I tried this before, and recieved errors. This time I took some more time out for that.
Loads of cmake errors, but google was my friend this time and I could fix all the missing dependencies.

Finally I could start to run Domoticz

Code: Select all

$ sudo ./domoticz -www 8088 -sslwww 0
2023-02-27 20:30:31.258  Status: Domoticz V2023.1 (build 15099) (c)2012-2023 GizMoCuz
2023-02-27 20:30:31.258  Status: Build Hash: b1a0cf225, Date: 2023-02-26 13:18:53
2023-02-27 20:30:31.258  Status: Startup Path: /home/marque1968/domoticz/bin/
2023-02-27 20:30:31.269  Error: Default admin password has NOT been changed! Change it asap!
2023-02-27 20:30:31.291  Status: PluginSystem: Started, Python version '3.10.6', 0 plugin definitions loaded.
2023-02-27 20:30:31.293  Active notification Subsystems: fcm, http (2/13)
2023-02-27 20:30:31.293  Status: WebServer(HTTP) started on address: :: with port 8088
2023-02-27 20:30:31.294  Starting shared server on: :::6144
2023-02-27 20:30:31.294  Status: TCPServer: shared server started...
2023-02-27 20:30:31.294  Status: RxQueue: queue worker started...
2023-02-27 20:30:33.295  Status: NotificationSystem: thread started...
2023-02-27 20:30:33.295  Status: EventSystem: reset all events...
2023-02-27 20:30:33.295  Status: EventSystem: reset all device statuses...
2023-02-27 20:30:33.311  Status: Python EventSystem: Initializing event module.
2023-02-27 20:30:33.312  Status: EventSystem: Started
2023-02-27 20:30:33.312  Status: EventSystem: Queue thread started...

However, when opening localhost:8088:

Code: Select all

400 Bad Request
Back to the drawing board...
Marque1968
Posts: 60
Joined: Tuesday 03 April 2018 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Domoticz, Ubuntu & "error while loading shared libraries: libssl.so.1.1"

Post by Marque1968 »

***CORRECTION***

I rebooted, still the same error. Then I thought that it might be better to copy domoticz from the ~/domoticz/bin directory to the ~/domoticz directory.

It worked straight away ! I would have been using it now, f Open ZWave wasn't removed from this build :( So I will start downloading plugins now.

Thanks for your help @reewoude
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest