[question] error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
your question ask your question here. be as specific as possible. Ubuntu 20.04
- run: screenpipe
- screenpipe: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
context try:
- sudo apt install libssl3
get:
- E: Unable to locate package libssl3
@Lovegood-1 Please use Ubuntu 22 or any higher version any versions below Ubuntu 22 are unsupported and doesnt work well for building screenpipe
You're hitting a common issue: your system (Ubuntu 20.04) is missing a newer version of OpenSSL (libssl.so.3), which is not available by default in the Ubuntu 20.04 repositories. Here's how to resolve it:
🔧 Solution: Install OpenSSL 3 on Ubuntu 20.04
Ubuntu 20.04 comes with OpenSSL 1.1 by default, but screenpipe seems to need OpenSSL 3 (which ships with Ubuntu 22.04+).
You can manually install OpenSSL 3 without upgrading your whole system:
✅ Step-by-step instructions:
1. Download and Install OpenSSL 3
# Install build dependencies
sudo apt update
sudo apt install -y build-essential checkinstall zlib1g-dev
# Download OpenSSL 3 (latest stable)
cd /usr/local/src
sudo wget https://www.openssl.org/source/openssl-3.0.13.tar.gz
sudo tar -xf openssl-3.0.13.tar.gz
cd openssl-3.0.13
# Configure and build
sudo ./Configure --prefix=/usr/local/openssl --openssldir=/usr/local/openssl shared zlib
sudo make -j$(nproc)
sudo make install
2. Update Shared Library Path
echo "/usr/local/openssl/lib" | sudo tee /etc/ld.so.conf.d/openssl-3.conf
sudo ldconfig
3. Point to the new OpenSSL for your app (without breaking the system)
Use environment variables so only screenpipe uses the new OpenSSL:
LD_LIBRARY_PATH=/usr/local/openssl/lib screenpipe
Hey, what should you do if you are on fedora 42? I've tried the instructions but I don't think they are working. I'm sure there might also be a simpler, less command intensive way. Just wondering if anyone knows it off the top of their head.