Git command svn; svn binding problem

When executing "git svn" init / clone, the following error occurs:

$ git svn init.

Unable to load '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/SVN/_Core/_Core.so' for SVN :: _ Core module: libsvn_client-1. so.0: Unable to open shared object file: such file or directory does not exist in / usr / lib 64 / perl5 / 5.8.8 / x86_64-linux-thread-multi / DynaLoader.pm, line 230.
 in / usr / lib 64 / perl5 / site_perl / 5.8.8 / x86_64-linux-thread-multi / SVN / Base.pm line 59
BEGIN failed - compilation canceled on / usr / lib 64 / perl5 / site_perl / 5.8.8 / x86_64-linux-thread -multi / SVN / Core.pm line 5.
Compilation failed in / usr / local / lib / perl 5 / site_perl / 5.8.8 / Git / SVN / Utils.pm line 6.
BEGIN failed - compilation canceled on / usr / local / lib / perl 5 / site_perl / 5.8.8 / Git / SVN / Utils.pm line 6.
Failed to compile at / usr / local / lib / perl 5 / site_perl / 5.8.8 / Git / SVN.pm line 33.
BEGIN failed - compilation canceled at / usr / local / lib / perl 5 / site_perl / 5.8.8 /Git/SVN.pm line 33.
Failed to compile in / usr / local / libexec / git -core / git -svn line 25.
BEGIN failed - compilation canceled in / usr / local / libexec / git -core / git - svn line 25.

the following packages are installed:

  • git version 1.8.0

  • SWIG version 2.0.9 Compiled with g ++ [x86_64-unknown-linux-gnu] Configured options: -pcre

  • svn version 1.6.18 (r1303927) compiled on January 22, 2013 12:39:04 pm

  • perl, v5.8.8 for x86_64-linux-thread-multi

Rate your suggestions in this.

+3


source to share


2 answers


it looks like a file:

 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/SVN/_Core/_Core.so

      

is absent. It should be part of your svn package. Most likely your svn compilation went wrong (do some missing perl support?).



Anyway, the _Core.so file is part of:

http://rpmfind.net/linux/RPM/dag/redhat/el4/x86_64/extras/subversion-perl-1.4.4-0.1.el4.rfx.x86_64.html

      

If you are tired of compiling, try to find the appropriate rpm package and install it.

+1


source


Thanks for your suggestions @xhudik

Everything is installed correctly and is present in the right place. The problem was linking the library correctly. It just export LD_LIBRARY_PATH

helped.



Now I just need to keep the env variable constant. Everything is working now.

0


source







All Articles