[sf-perl] Help with Alien::SVN and LD_LIBRARY_PATH

George Hartzell hartzell at alerce.com
Wed Sep 21 14:58:13 PDT 2011


Hi All, lurkers and regulars,

I'm working on SLES11 linux systems, Perl 5.14.1.

I'm trying to achieve something useful that ultimately needs SVN::Core
to work.  SVN::Core is provided by Alien::SVN in my world.  As
Alien::SVN builds it sets LD_RUN_PATH so that it points to its copies
of the various subversion libraries that it's compiling and they get
used during the tests.

It never seems to do anything that ends up pointing LD_RUN_PATH at the
ultimate installation directory, or setting rpath, or other linker
black magic before it does the install and the result is that

  perl -MSVN::Core

fails with the inability to find it's libraries

I can make it work with (bash worldview)

  export LD_LIBRARY_PATH=/path/to/Alien/SVN

but I expected that I would not have to do that.

Does anyone out there in sf.pm land know how this is *supposed* to
work?  Is the requirement to set LD_LIBRARY_PATH what's supposed to
happen?

g.


More information about the SanFrancisco-pm mailing list