在Mac OS 10.8中无法从终端使用svn命令 [英] not able to use svn command from terminal in Mac OS 10.8

查看:908
本文介绍了在Mac OS 10.8中无法从终端使用svn命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

团队

SVN命令在终端中运行正常. 我已经卸载并安装了最新版本的svnclient.从那时起,我无法从Mac的终端访问svn命令. 以下是我在终端中看到的错误消息

SVN commands were working fine in terminal. I have uninstalled and installed the latest version of my svnclient. from then, i'm not able to access the svn commands from terminal in my mac. following is the error message i see in terminal

dyld:未加载库:/opt/local/lib/libssl.1.0.0.dylib
引用自:/usr/local/bin/svn原因:找不到映像 跟踪/BPT陷阱:5

dyld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/bin/svn Reason: image not found Trace/BPT trap: 5

我正在使用Mac OS 10.8.2

I'm using Mac OS 10.8.2

请帮助我解决此问题.

推荐答案

看来,"svn"的本地副本(安装在/usr/local/bin中)依赖于/opt中不存在的库/local/lib了(卸载并重新安装最新版本的svn客户端时,它可能已经消失了.)

It looks like your local copy of "svn" (installed in /usr/local/bin) is dependent on a library that doesn't exist in /opt/local/lib anymore (which might have gone away when you uninstalled and re-installed the latest version of your svn client).

在我自己的计算机上,通过Xcode命令行工具将"svn"安装到"/usr/bin"目录中,您可以在此处直接从Apple下载(),也可以直接从Xcode偏好设置中安装命令行工具(在下载"标签中查看) ,将有一个组件"部分).一旦安装了命令行工具,就可以使它们"rm""/usr/local/bin"中的svn副本.

On my own machine, "svn" was installed into the "/usr/bin" directory via the Xcode command line tools, which you can download from Apple directly here (look at the "Looking for additional developer tools?" link) or you can install the command line tools directly from Xcode preferences (look in the "Downloads" tab, there will be a "Components" section). Once you install the command line tools, you can them "rm" the copy of svn that's in "/usr/local/bin".

这篇关于在Mac OS 10.8中无法从终端使用svn命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆