我真的很喜欢mosh (http://mosh.mit.edu/),但在brew upgrade之后它停止了工作,产生了下面的错误。
> 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. 发布于 2013-04-02 02:58:15
在深入研究后,我意识到这是因为protobuf已经升级了,而且mosh被硬编码为使用protobuf 2.4.1。
所以我所要做的就是从protobuf 2.5.0恢复到2.4.1。在装有自制软件的Mac上,这是通过以下步骤完成的:
> 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发布于 2015-07-27 12:36:40
你应该重新安装使用:https://mosh.mit.edu/#getting
不要使用brew,它适用于我的MacOSX10.9.5
发布于 2013-04-09 17:51:31
您还可以更新brew,然后将mosh升级到1.2.4:
$ brew update..。
$ brew upgrade mobile-shell
==> Upgrading 1 outdated package, with result:
mobile-shell 1.2.4
==> Upgrading mobile-shell
==> Downloading http://mosh.mit.edu/mosh-1.2.4.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/mobile-shell/1.2.4
==> make install
/usr/local/Cellar/mobile-shell/1.2.4: 12 files, 1004K, built in 41 seconds https://stackoverflow.com/questions/15749776
复制相似问题