On 12.09.2014 20:37, Philip Martin wrote: > Philip Martin <philip.mar...@wandisco.com> writes: > >> Alexey Neyman <sti...@att.net> writes: >> >>> Rather, I think, it is that the libsvn_swig_perl-1.so.0 does not list the >>> _Core.so 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 _Repos.so and _Core.so to be loaded. You >> should see that _Core.so has libsvn_swig_perl-1.so as a dependency. > After a bit of testing on my machine it appears that loading SVN::Repos > doesn't load SVN::Core automatically. I can reproduce your error on my > system, and I can solve it by adding 'use SVN::Core' to the script.
All our Perl bindings tests explicitly load SVN::Core. I'm not sure what the intent of the packaging was initially, but it appears that the cross-module dependencies aren't exposed to the module loader; so loading SVN::Core is pretty much required in any script that uses our Perl bindings. I think this is more of a mess than a bug. :) -- Brane