我对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 但它没有解决问题。
P.S。我安装了2个XCode。 /Application/XCode.app和/ Application / XCode5并在命令行中选择了第一个路径,即Xcode 4.6.3(使用xcode-select)。
答案 0 :(得分:0)
我遇到了同样的问题。当我将Xcode版本升级到5.0.2时,它得到了解决。
答案 1 :(得分:-3)
我刚接到同样的事情。在我的情况下,我从Lion更新为Mavericks。
我实际上并不需要Xcode(只是命令行工具......我实际上构建了自己的编译器等)所以我只是这样做了:
sudo rm -rf /Applications/XCode.app
修好了......
我不知道这是否适合你,但不是......