Closed tobias-mierzwa closed 2 years ago
The libssl package in the Ubuntu 22.04 repo is too new for building this relatively dated project. The easiest way is to download older libssl versions from the Ubuntu archive:
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
and install both of them via
sudo dpkg -i libssl-dev_1.1.1f-1ubuntu2_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
Run cargo clean
to clean the project directory from half-finished compiles and then you'll be able to successfully build it on Ubuntu 22.04.
Keep in mind that Ubuntu will try to upgrade libssl-dev from 1.1 to 3.0 whenever you want to update your system.
In order to avoid this you can tell apt to hold libssl-dev at the current version:
sudo apt-mark hold libssl-dev
Thank you! It's building without errors.
I have problems with the openssl library in the last steps.
I've installed the library on Ubuntu 22.04 with the following commands:
Dependencies installing
Building project