Skip to content

Homebrew macOS osslsigncode fails with "dyld: Library not loaded" #26

@rfay

Description

@rfay

First, congratulations on getting this project (instead of abandoned one) into homebrew.

But...

osslsigncode with latest homebrew fails every way I've tried on mojave or catalina with this message. (It seems to work on Catalina).

dyld: Library not loaded: /usr/local/opt/libgsf/lib/libgsf-1.114.dylib
  Referenced from: /usr/local/bin/osslsigncode
  Reason: image not found

homebrew info:

Distillers-Mac-4:ddev distiller$ brew info libgsf
libgsf: stable 1.14.46 (bottled), HEAD
I/O abstraction library for dealing with structured file formats
https://developer.gnome.org/gsf/
/usr/local/Cellar/libgsf/1.14.46_1 (153 files, 2.3MB) *
  Poured from bottle on 2020-01-02 at 09:10:09
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/libgsf.rb
==> Dependencies
Build: intltool ✘, pkg-config ✘
Required: gettext ✔, glib ✔
==> Options
--HEAD
	Install HEAD version
==> Analytics
install: 1,313 (30 days), 4,030 (90 days), 20,620 (365 days)
install-on-request: 47 (30 days), 210 (90 days), 1,133 (365 days)
build-error: 0 (30 days)
Distillers-Mac-4:ddev distiller$ brew info osslsigncode
osslsigncode: stable 2.0 (bottled)
OpenSSL based Authenticode signing for PE/MSI/Java CAB files
https://github.com/mtrojnar/osslsigncode
/usr/local/Cellar/osslsigncode/2.0_1 (8 files, 125.6KB) *
  Poured from bottle on 2020-01-02 at 09:10:11
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/osslsigncode.rb
==> Dependencies
Build: autoconf ✔, automake ✔, libtool ✘, pkg-config ✘
Required: libgsf ✔, openssl@1.1 ✔
==> Analytics
install: 91 (30 days), 314 (90 days), 728 (365 days)
install-on-request: 86 (30 days), 304 (90 days), 707 (365 days)
build-error: 0 (30 days)

osslsigncode is osslsigncode-2.0_1.mojave.bottle.tar.gz here

Note that the suggestions in https://stackoverflow.com/questions/44125147/dyld-library-not-loaded-usr-local-opt-openssl-lib-libcrypto-1-0-0-dylib and https://blog.junjizhi.com/all/2019/12/17/git-fetch-libssl-error.html didn't get me working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions