Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't install tmux. Error: dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib

Tags:

macos

tmux

I tried installing tmux by doing the steps specified here. I have tried all the suggested steps, but the terminal still gave me this error:

dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
Referenced from: /usr/local/opt/libevent/lib/libevent-2.1.6.dylib
Reason: image not found
Trace/BPT trap: 5
like image 305
johnwj Avatar asked Mar 20 '17 17:03

johnwj


4 Answers

Reinstalling openssl did not work for me, but

brew upgrade tmux

got me to version 3.0a and got rid of the error.

like image 122
0xtobit Avatar answered Nov 09 '22 01:11

0xtobit


These steps are worked for me.

brew uninstall --ignore-dependencies openssl
brew install openssl
like image 26
Kaifei Avatar answered Nov 09 '22 00:11

Kaifei


Looks like you don't have openssl lib. Try to install with brew install openssl

like image 2
idej Avatar answered Nov 09 '22 01:11

idej


I tried the answer by @Kaifei, but ran into problems with openssh. At the end, I also had to do:

brew upgrade openssh

to resolve the issue. This blog talks about this solution.

like image 1
user10375 Avatar answered Nov 09 '22 00:11

user10375