subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <>
Subject Re: Problem with subversion-perl RPMs from WanDisco?
Date Fri, 12 Sep 2014 18:16:12 GMT
Alexey Neyman <> writes:

> Rather, I think, it is that the does not list the 
> as a dependency:

I don't think that's the way it works.  When Perl uses a module such as
SVN::Repos then Perl itself knows to uses SVN::Core as a dependency.
That causes the shared objects and to be loaded.  You
should see that has as a dependency.

> If I pre-load the library, though, it fails differently:
> $ LD_PRELOAD=/usr/local/lib64/perl5/auto/SVN/_Core/ /tmp/ /repo
> Can't locate object method "new_default" via package "SVN::Pool" (perhaps you 
> forgot to load "SVN::Pool"?) at /tmp/ line 6.

I'm not sure LD_PRELOAD is the right way to do it as that might bypass
the full Perl module load mechanism.  I think you should try setting
@INC, perhaps via

  use lib '/usr/local/lib64/perl5';

Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*

View raw message