Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Lovegood-1 opened this issue Apr 24, 2025 · 2 comments
Labels
question Further information is requested

Comments

@Lovegood-1
Copy link

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 Lovegood-1 added the question Further information is requested label Apr 24, 2025
@divanshu-go
Copy link
Contributor

@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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants