SVN 无法在全新的 Mac OSX 安装上运行
我安装了全新的 Mac OS 10.7.2。我已经在上面安装了 SVN,但是,当我尝试调用 Subversion 时,出现错误:
dyld: Library not loaded: /usr/lib/libpq.5.dylib
Referenced from: /opt/subversion/bin/svn
Reason: no suitable image found. Did find:
/usr/lib/libpq.5.dylib: no matching architecture in universal wrapper
/usr/lib/libpq.5.dylib: no matching architecture in universal wrapper
我已尝试搜索错误,看起来该库主要由 PostreSQL 使用(我也安装了),但是运行良好。我有点困惑为什么 SVN 会尝试调用这个库,以及为什么它会失败。
网上的各种用户组都指出,解决方案是创建一个指向“真实”PostgreSQL 安装的符号链接,但我已经这样做了。 (另请参阅:subclipse)我已经重新安装了 SVN 和 PostgreSQL 两次,没有任何错误。任何帮助将不胜感激。
I have a brand new install of Mac OS 10.7.2. I have installed SVN on it, however, when I try to invoke Subversion, I get the error:
dyld: Library not loaded: /usr/lib/libpq.5.dylib
Referenced from: /opt/subversion/bin/svn
Reason: no suitable image found. Did find:
/usr/lib/libpq.5.dylib: no matching architecture in universal wrapper
/usr/lib/libpq.5.dylib: no matching architecture in universal wrapper
I have tried searching for the error, and it looks like that library is used primarily by PostreSQL (which I also have installed), but that is running fine. I am a little confused as to why SVN would be trying to call this library, and furthermore why it fails.
Various user groups online state that the solution is to create a symbolic link to the 'real' PostgreSQL install, but I have done that. (See also: subclipse) I have reinstalled SVN and PostgreSQL twice now with no errors. Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
事实证明,虽然我的 PostgreSQL 使用的是 5.2 版本,但 SVN 依赖于 5.3。因此,如果有人遇到此问题,请注意,您不能简单地创建指向 PostgreSQL dylib 的符号链接,它必须是安装时附带的 5.3。
IE
Turns out that although my PostgreSQL is using version 5.2, SVN depends on 5.3. So if anyone runs into this problem, note that you CANNOT simply create a symbolic link to your PostgreSQL dylib, it has to be the 5.3 that comes with the install.
ie
我的链接断开了:
我用以下方法修复了这个问题:
如之前所建议的。
之后我注意到,那个颠覆客户端太旧了。
此指令 http://subclipse.tigris.org/wiki/JavaHL 建议下载最新的二进制文件来自 CollabNet,但那些社区构建的 Mac 软件包适用于旧版本,因此不兼容。
更多信息请参见:svn for eclipse on mac os lion
I had a broken linkage:
I fixed this with:
As suggested earlier.
After this I noticed, that subversion client is too old.
This instruction http://subclipse.tigris.org/wiki/JavaHL suggests to download latest binaries from CollabNet, but those community built Mac packages are for older version and therefore incompatible.
More information here: svn for eclipse on mac os lion