Trouble with git-svn locating svn perl language bindings - Can't locate SVN/

Posted by Tim Connor Sun, 21 Sep 2008 03:45:00 GMT

If you get an error “Can’t locate SVN/” when trying to use git-svn, it cannot find your perl bindings. After endless troubles trying to get things to either compile from source, or from macports (a dependency, apr_util, would not compile on my system), and with no luck with the binaries I was frustrated. But I finally found a blog post that told me I had to set the $PERL5LIB environmental variable, if I was getting that error.

So I added “export PERL5LIB=/opt/subversion/lib/svn-perl/” to the end of my .profile, and I was good to go.

Leave a comment