screenpipe icon indicating copy to clipboard operation
screenpipe copied to clipboard

[question] error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

Open Lovegood-1 opened this issue 8 months ago • 3 comments

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 avatar Apr 24 '25 09:04 Lovegood-1

@Lovegood-1 Please use Ubuntu 22 or any higher version any versions below Ubuntu 22 are unsupported and doesnt work well for building screenpipe

divanshu-go avatar Apr 24 '25 17:04 divanshu-go

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

divanshu-go avatar Apr 24 '25 17:04 divanshu-go

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.

dotsupershow avatar Jul 21 '25 18:07 dotsupershow