【发布时间】:2013-12-09 15:57:37
【问题描述】:
我对 git-svn 有一些严重的问题。在我没有更新到 Mac OS X Maverick 之前,一切正常(源代码树和 git svn 命令行),但现在我尝试签出 svn 存储库时出现以下错误:
在命令行:
dyld: lazy symbol binding failed: Symbol not found: _Perl_Gthr_key_ptr
Referenced from: /Applications/Xcode.app/Contents/Developer/usr/../Library/Perl/5.12/darwin-thread-multi-2level/auto/SVN/_Core/_Core.bundle
Expected in: flat namespace
dyld: Symbol not found: _Perl_Gthr_key_ptr
Referenced from: /Applications/Xcode.app/Contents/Developer/usr/../Library/Perl/5.12/darwin-thread-multi-2level/auto/SVN/_Core/_Core.bundle
Expected in: flat namespace
error: git-svn died of signal 5
http://undefinedvalue.com/2013/08/21/solving-symbol-not-found-perlgthrkeyptr-when-running-git-svn-certain-unnamed-operating-sy
尝试使用 Sourcetree 结帐时:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree svn clone SVN_PATH /Users/myusername/XCodeWorkspace/NewFolder
Can't locate SVN/Core.pm in @INC (@INC contains: /usr/local/git/lib/perl5/site_perl /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN/Editor.pm line 5.
BEGIN failed--compilation aborted at /Applications/SourceTree.app/Contents/Resources/git_local/lib/perl5/site_perl/Git/SVN/Editor.pm line 5.
Compilation failed in require at /Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 81.
BEGIN failed--compilation aborted at /Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git-svn line 81.
Completed with errors, see above
有人遇到过这个问题并设法解决了吗?我尝试了以下解决方案: http://undefinedvalue.com/2013/08/21/solving-symbol-not-found-perlgthrkeyptr-when-running-git-svn-certain-unnamed-operating-sy 但这并没有解决问题。
附:我安装了 2 个 XCode。 /Application/XCode.app 和 /Application/XCode5 在命令行中我选择了第一个路径,即 Xcode 4.6.3(使用 xcode-select)。
【问题讨论】:
标签: xcode git-svn osx-mavericks