Bedrock server won't start on Ubuntu 22.04 LTS
The dedicated bedrock server fails to start with an error about libssl
./bedrock_server: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
I think this may be because Ubuntu now ships with OpenSSL 3.0.2
Environment
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
Linked Issues
Comments6
History8
Added is duplicated by link: BDS-16995Bedrock Dedicated Server (BDS) doesn't work on Ubuntu Linux.Duplicate
Confirmation Status: Unconfirmed → Community Consensus
Added is duplicated by link: BDS-17305Neither with an update nor with a new installation, version 1.19.10.03 does not work.Duplicate
Added affects versions: 1.19.10
Resolution: Unresolved → Fixed
Added affects versions: 1.19.51
Im getting this on Ubuntu too, it appears they updated the OpenSSL Version, Please fix
EDIT: 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.1If this works for you, show me some gratitude!
Still a problem on Minecraft 1.19.2.
they updated the curl libs on ubuntu 22.02 you will need to install the old ones
Impish has been EOLed, so you will need to grab the file from Focal:
echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list sudo apt update && sudo apt install libssl1.1If you installed impish (the first comment), you will need to remove that file, install focal, then update and install.
sudo rm /etc/apt/sources.list.d/impish-security.list echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list sudo apt-get update sudo apt-get install libssl1.11.19.30 fixed this, I can start it and join the server on 22.04 without library errors.