git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Centos7 compiling git
@ 2019-06-06 14:34 Andres Llopis
  2019-06-07 10:25 ` brian m. carlson
  0 siblings, 1 reply; 2+ messages in thread
From: Andres Llopis @ 2019-06-06 14:34 UTC (permalink / raw)
  To: git@vger.kernel.org

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!







^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Centos7 compiling git
  2019-06-06 14:34 Centos7 compiling git Andres Llopis
@ 2019-06-07 10:25 ` brian m. carlson
  0 siblings, 0 replies; 2+ messages in thread
From: brian m. carlson @ 2019-06-07 10:25 UTC (permalink / raw)
  To: Andres Llopis; +Cc: git@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 1969 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 868 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-07 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06 14:34 Centos7 compiling git Andres Llopis
2019-06-07 10:25 ` brian m. carlson

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).