Skip to content

Instantly share code, notes, and snippets.

@jasonrm
Created October 14, 2024 18:16
Show Gist options
  • Save jasonrm/f3becb64a8546db215f0a245ed035e59 to your computer and use it in GitHub Desktop.
Save jasonrm/f3becb64a8546db215f0a245ed035e59 to your computer and use it in GitHub Desktop.
osslsigncode: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file
## Issue
`osslsigncode: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file`
Worked on Ubuntu 22.04, fails on Ubuntu 24.04
```
Operating System
Ubuntu
24.04.1
LTS
electron-builder version=25.1.8 os=6.8.0-1015-azure
/home/runner/.cache/electron-builder/winCodeSign/winCodeSign-2.6.0/linux/osslsigncode: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
```
## Fix
```
apt install -y osslsigncode
export USE_SYSTEM_SIGNCODE=1
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment