nirvdrum / svn2git

Ruby tool for importing existing svn projects into git.
MIT License
2.11k stars 443 forks source link

Issue with svn2git #270

Open manav95 opened 6 years ago

manav95 commented 6 years ago

I am trying to convert an existing SVN repo to a Git one. Here is the command I use:

svn2git svn+ssh://me@example.url/svn/code/AndroidApp --authors authors.txt

I have changed the URL to a dummy one for security reasons, but I dont think its important for the purpose of this question. I have had issues getting some Perl modules needed by Subversion working. I was able to use cpan to download SVN:_Core, and I have Perl 5 along with git installed on the box. I tried running svn2git and I get this error:

Can't load

'/usr/local/lib64/perl5/auto/SVN/_Core/_Core.so' for module SVN::_Core: libsvn_client-1.so.0: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 200.
 at /usr/local/lib64/perl5/SVN/Base.pm line 59
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/SVN/Core.pm line 5.
Compilation failed in require at /usr/local/share/perl5/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at /usr/local/share/perl5/Git/SVN/Utils.pm line 6.
Compilation failed in require at /usr/local/share/perl5/Git/SVN.pm line 32.
BEGIN failed--compilation aborted at /usr/local/share/perl5/Git/SVN.pm line 32.
Compilation failed in require at /usr/local/libexec/git-core/git-svn line 21.
BEGIN failed--compilation aborted at /usr/local/libexec/git-core/git-svn line 21.
command failed:
git svn init

I have the DynaLoader.pm at that specific location. I am not sure why it can't proceed and am at a loss on what to do next to get it to load the .so file.

mountainash commented 5 years ago

Do you have Ruby installed?

ruby -v

Also if you rename this issue to something relevant; more people will find it and help.

ashley062190 commented 3 years ago

Do you have Ruby installed?

ruby -v

Also if you rename this issue to something relevant; more people will find it and help.

ashley062190 commented 3 years ago

Opt out