git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Centos7 compiling git

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Jun 7, 2019, 10:25 UTC
Message-ID
<20190607102505.GV8616@genre.crustytoothpaste.net>
In-Reply-To
<_d10F4jbR7a1KdFnFMJF5IkXQ5YxZdCttXeYWn87WkJ3GwHgAgJ4M9KSedHDliZTv9Xt4EDTrWV1YxiHoosF_lqSY_6p8aV563WdG5qMhd4=@protonmail.com>
On 2019-06-06 at 14:34:13, Andres Llopis wrote:
Show 19 quoted lines
> 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
Previous: Andres Llopis
Message 2 of 2 in “Centos7 compiling git”
  1. Andres LlopisJun 6, 2019
  2. brian m. carlsonJun 7, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.