1

我已经从http://www.perzl.org/aix/index.php下载了 git 1.7.10 和 subversion 1.7.4 RPM ,但是当我尝试运行 git svn 时,我遇到了这个问题:

multi/auto/SVN/_Core/_Core.so'
for module SVN::_Core: rtld: 0712-001 Symbol svn_handle_warning was
referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
rtld: 0712-001 Symbol svn_handle_warning2 was referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
rtld: 0712-001 Symbol svn_error_clear was referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
rtld: 0712-001 Symbol svn_error_compose was referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
rtld: 0712-001 Symbol svn_swig_pl_make_pool was referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
rtld: 0712-001 Symbol svn_diff_hunk_reset_modified_text was referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
rtld: 0712-001 Symbol svn_diff_hunk_reset_original_text was referenced
     from module
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/SVN/_Core/_Core.so(),
but a runtime definition
           of the symbol was not found.
Additional errors occurred but are not reported. at
/opt/freeware/lib/perl5/5.8.8/ppc-thread-multi/DynaLoader.pm line 227.
 at /opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/SVN/Base.pm
line 59
BEGIN failed--compilation aborted at
/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/SVN/Core.pm
line 5.
Compilation failed in require at /opt/freeware/libexec/git-core/git-svn line 41.
-bash-3.2$ nm -g _Core.so | grep svn_handle_warning
._wrap_svn_handle_warning T   268581888         808
._wrap_svn_handle_warning2 T   268582696        1048
.svn_handle_warning  T   268469632
.svn_handle_warning2 T   268469672
_wrap_svn_handle_warning D   536899412
_wrap_svn_handle_warning2 D   536899400
svn_handle_warning   U           -
svn_handle_warning2  U           -

所以,在我看来 Core.so 没有正确构建。

谁能概述我如何调试解决此类问题?

4

1 回答 1

0

如果您的系统上有 Java,我建议您将SubGit安装到您的 SVN 服务器中并使用任何 SVN 或 Git 接口。SubGit 将即时同步 Git 和 SVN 存储库。同步时存储库和阻塞(几秒钟),所以这个解决方案是并发安全的。

如果您需要仅限客户端的解决方案,您可以尝试SmartGit。它也是基于 java 的,所以不会受到 git-svn/perl 问题的影响。

两种解决方案都执行更好的 SVN<->Git 翻译,保留 EOL、忽略、标签等概念(git-svn 没有)。

于 2012-05-12T13:12:04.620 回答