hugemeow
hugemeow

Reputation: 7985

why git svn clone failed when using cygwin?

 git svn clone https://192.168.11.115/svn/xx/test/
Initialized empty Git repository in /cygdrive/d/xx/test/.git/
Can't load '/usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/auto/SVN/_Core/_Core.dll' for module SVN::_Core: No such file or directory at /usr/lib/perl5/5.14/i686-cygwin-threads-64int/DynaLoader.pm line 190.
 at /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/SVN/Base.pm line 59
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int/SVN/Core.pm line 5.
Compilation failed in require at /usr/lib/git-core/git-svn line 41.

it is confusing...

Upvotes: 3

Views: 1428

Answers (2)

Moritz
Moritz

Reputation: 405

I think the version of your subversion-perl package does not match the version of your subversion package.

I had the same issue because I was using subversion 1.7 and git-svn installed subversion-perl 1.8 as a dependency. Downgrading subversion-perl to 1.7 fixed that.

Upvotes: 2

VonC
VonC

Reputation: 1328712

It might be because, as in this thread, you don't have sqlite3 installed.

$ cygcheck -l libsqlite3_0
/usr/bin/cygsqlite3-0.dll

I'm not sure why this is missing from your system.
subversion-perl depends on subversion which depends on libsqlite3_0.

libsqlite3_0 does not install any dll, sqlite3 package installs the dll.
This also fixes the svn problem someone else reported.

Upvotes: 2

Related Questions