When starting bedrock server in Ubuntu 22.04 it exits with the following error
"error while loading shared libraries libssl.so.1.1: cannot open shared object file: No such file or directory"
Comments 4
Hi John,
Just out curiosity, are you using third party scripts to setup and run your server? If so, do you happen to know if the third party scripts are installing older OpenSSL libraries?
Ubuntu 22.04 LTS at the time of writing is using OpenSSL 3.0.2. You can check which libssl versions are installed on you machine with the below command.
ldconfig -p | grep libssl
I am still encountering the error you initially encountered on Ubuntu 22.04 LTS, although I have not yet tried installing the older 1.1 libraries. It also appears BDS-16913 is encountering the same issue.
https://github.com/TheRemote/MinecraftBedrockServer/commit/7012a5c486bd485b9c015920fd1a2b375862f408 suggests 3rd party scripts may be what fixed it. I develop MCscripts and I only install what the scripts themselves need. I'm personally running 20.04 right now.
Already posted this solution over at https://bugs.mojang.com/browse/BDS-16913
If this works, show me some gratitude!
—
I was able to resolve myself using the following commands:
echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
sudo apt-get update
sudo apt-get install libssl1.1
After the most recent update I have received, the issue seems to be resolved. Now sure who resolved it, but it's fixed now.