Toool
Toool

Reputation: 361

dyld: Symbol not found: _OPENSSL_init_ssl

I just installed ffsend and wget via homebrew on my MacOS (Mojave 10.14.6), and when I run the command

ffsend upload some_file.tgz

or

wget some_url some_file.tgz

I get the following:

dyld: lazy symbol binding failed: Symbol not found: _OPENSSL_init_ssl Referenced from: /usr/local/bin/ffsend Expected in: /usr/local/opt/[email protected]/lib/libssl.1.1.dylib

dyld: Symbol not found: _OPENSSL_init_ssl Referenced from: /usr/local/bin/ffsend Expected in: /usr/local/opt/[email protected]/lib/libssl.1.1.dylib

Abort trap: 6

I know I've had some bugs with Open SSL previously, but I have no idea of how to tackle this problem.

Thanks

Upvotes: 0

Views: 4020

Answers (1)

Toool
Toool

Reputation: 361

The problem was due to a conflict between versions of OpenSSL. Some programs (wget, ffsend) needed the latest version of OpenSSL, while some other programs (not distributed) needed an older version of OpenSSL, namely 1.0.2.

I found the solution here: after reinstalling openssl via brew reinstall [email protected], I used brew switch openssl 1.0.2q.

This way I can use both programs that need the latest version and those that use the older one.

Upvotes: 3

Related Questions