{"id":1123,"hash":"49832d7bf22a8fd1d4e833a6417cb77ec61d795d181c5e583395476891c7b0d6","pattern":"libssl.so.1.1: cannot open shared object file: No such file or directory","full_message":"I've just updated to Ubuntu 22.04 LTS and my libs using OpenSSL just stopped working.\nLooks like Ubuntu switched to the version 3.0 of OpenSSL.\n\nFor example, poetry stopped working:\n\nTraceback (most recent call last):\n  File \"/home/robz/.local/bin/poetry\", line 5, in <module>\n    from poetry.console import main\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/poetry/console/__init__.py\", line 1, in <module>\n    from .application import Application\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/poetry/console/application.py\", line 7, in <module>\n    from .commands.about import AboutCommand\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/poetry/console/commands/__init__.py\", line 4, in <module>\n    from .check import CheckCommand\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/poetry/console/commands/check.py\", line 2, in <module>\n    from poetry.factory import Factory\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/poetry/factory.py\", line 18, in <module>\n    from .repositories.pypi_repository import PyPiRepository\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/poetry/repositories/pypi_repository.py\", line 33, in <module>\n    from ..inspection.info import PackageInfo\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/poetry/inspection/info.py\", line 25, in <module>\n    from poetry.utils.env import EnvCommandError\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/poetry/utils/env.py\", line 23, in <module>\n    import virtualenv\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/virtualenv/__init__.py\", line 3, in <module>\n    from .run import cli_run, session_via_cli\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/virtualenv/run/__init__.py\", line 11, in <module>\n    from ..seed.wheels.periodic_update import manual_upgrade\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/virtualenv/seed/wheels/__init__.py\", line 3, in <module>\n    from .acquire import get_wheel, pip_wheel_env_run\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/virtualenv/seed/wheels/acquire.py\", line 12, in <module>\n    from .bundle import from_bundle\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/virtualenv/seed/wheels/bundle.py\", line 4, in <module>\n    from .periodic_update import periodic_update\n  File \"/home/robz/.local/share/pypoetry/venv/lib/python3.9/site-packages/virtualenv/seed/wheels/periodic_update.py\", line 10, in <module>\n    import ssl\n  File \"/home/robz/.pyenv/versions/3.9.10/lib/python3.9/ssl.py\", line 98, in <module>\n    import _ssl             # if we can't import it, let the error propagate\nImportError: libssl.so.1.1: cannot open shared object file: No such file or directory\n\nIs there an easy fix ? For example, having libssl.so.1.1 available without having to uninstall OpenSSL 3 (I don't know if it's even possible).","ecosystem":"pypi","package_name":"linux","package_version":null,"solution":"This fixes it (a problem with packaging in 22.04):\n\nwget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb\n\nsudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb\n\nPS: If the link is expired, check http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/?C=M;O=D for a valid one.\n\nCurrent version (as of 2025-10-16) is: libssl1.1_1.1.1f-1ubuntu2_amd64.deb","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/72133316/libssl-so-1-1-cannot-open-shared-object-file-no-such-file-or-directory","votes":145,"created_at":"2026-04-19T04:52:24.090917+00:00","updated_at":"2026-04-19T04:52:24.090917+00:00"}