http://www.perlmonks.org?node_id=966123


in reply to possible to bake LD_LIBRARY_PATH in perl(1)?

Hmm, LD_LIBRARY_PATH shows its being used to set Config#ldlibpthname, which sadly, Makefile.PL/Build.PL do not appear to use.

So editing ldlibpthname probably won't work.

But editing lddlflags, ldflags ought to work to add paths which the compiler ought-to bake

Or editing sitecustomize would work to set env vars and perl/cpan/Makefile.PL/Build.PL specific options

  • Comment on Re: possible to bake LD_LIBRARY_PATH in perl(1)?

Replies are listed 'Best First'.
Re^2: possible to bake LD_LIBRARY_PATH in perl(1)?
by Anonymous Monk on Apr 20, 2012 at 08:09 UTC
Re^2: possible to bake LD_LIBRARY_PATH in perl(1)?
by Anonymous Monk on Apr 20, 2012 at 08:01 UTC

    Right you are about the editing; I posted too soon (2d reply).

    I will try ld*flags & usesitecustomize next time I get the chance. Thanks much.