【问题标题】:git-svn broken on Mac OS X Mavericksgit-svn 在 Mac OS X Mavericks 上坏了
【发布时间】: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


    【解决方案1】:

    我遇到了同样的问题。当我将 Xcode 版本升级到 5.0.2 时,它得到了解决。

    【讨论】:

      【解决方案2】:

      我刚收到同样的东西。就我而言,我从 Lion 升级到了 Mavericks。

      我实际上并不需要 Xcode(只是命令行工具......我实际上构建了自己的编译器等)所以我只是这样做了:

      sudo rm -rf /Applications/XCode.app

      解决了...

      我不知道这对你来说是否可行……

      【讨论】:

      • 这肯定不是解决办法。
      猜你喜欢
      • 1970-01-01
      • 2014-05-06
      • 2013-11-18
      • 2014-07-08
      • 1970-01-01
      • 1970-01-01
      • 2013-12-06
      • 2014-07-02
      • 2013-11-11
      相关资源
      最近更新 更多