On 2019-06-06 at 14:34:13, Andres Llopis wrote:
> Hello,
> 
> I have a problem in my centos 7 machine. I am compiling git 2.18 from source. 
> When I use git svn  it works fine with the subversion that comes with the 
> system. However, if I have a different subversion in my path:
> 
> PATH=/home/tools/sw/subversion/svn-1.8.8/rhel7-x86_64/bin:$PATH
> LD_LIBRARY_PATH=/home/tools/sw/subversion/svn-1.8.8/rhel7-x86_64/lib:$LD_LIBRARY_PATH
> then I get the following error:
> 
>     Can't load '/usr/lib64/perl5/vendor_perl/auto/SVN/_Core/_Core.so' for 
> module SVN::_Core: /usr/lib64/perl5/vendor_perl/auto/SVN/_Core/_Core.so: 
> undefined symbol: svn_uri__is_child at /usr/lib64/perl5/DynaLoader.pm line 
> 190.
>      at /usr/lib64/perl5/vendor_perl/SVN/Base.pm line 59.
>     BEGIN failed--compilation aborted at 
> /usr/lib64/perl5/vendor_perl/SVN/Core.pm line 5.
>     Compilation failed in require at 
> /home/machine/.local/share/perl5/Git/SVN/Utils.pm line 6.
>     BEGIN failed--compilation aborted at 
> /home/machine/.local/share/perl5/Git/SVN/Utils.pm line 6.
>     Compilation failed in require at 
> /home/machine/.local/share/perl5/Git/SVN.pm line 32.
>     BEGIN failed--compilation aborted at 
> /home/machine/.local/share/perl5/Git/SVN.pm line 32.
>     Compilation failed in require at 
> /home/machine/.local/libexec/git-core/git-svn line 22.
>     BEGIN failed--compilation aborted at 
> /home/machine/.local/libexec/git-core/git-svn line 22.
> 
> Please help, thanks a lot!

It looks like you're using the system-provided Subversion Perl modules
instead of building your own. In general, this isn't going to work,
because those modules depend on internal features of the library.

You'd need to build appropriate Perl modules as part of the Subversion
build process and either install them in a suitable location for Git or
set PERL5LIB to point to the right set of modules.
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204

Attachment: signature.asc
Description: PGP signature

Reply via email to