I really like mosh
(http://mosh.mit.edu/) but after a brew upgrade
it stopped working, yielding the below error.
> mosh example.com
dyld: Library not loaded: /usr/local/lib/libprotobuf.7.dylib
Referenced from: /usr/local/bin/mosh-client
Reason: image not found
Died at /usr/local/bin/mosh line 201.
After some digging around I realised that this was due to protobuf
had been upgraded and that mosh
is hardcoded to use protobuf 2.4.1
.
So all I had to do was revert from protobuf 2.5.0
to 2.4.1
. On Mac with homebrew this is done by the following steps:
> brew versions protobuf
2.5.0 git checkout 019364d /usr/local/Library/Formula/protobuf.rb
2.4.1 git checkout 544209f /usr/local/Library/Formula/protobuf.rb
> git checkout 544209f /usr/local/Library/Formula/protobuf.rb
> brew unlink protobuf
> brew link protobuf
You shoud reinstall use: https://mosh.mit.edu/#getting
DO NOT use brew
, it work for me on MAC OSX 10.9.5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With