in reply to How does the Perl choose between lib and lib64?

My question - how can I control this choice? For example, I want all my trees to have only "lib" directories.

Why would you want to control this choice? You really shouldn't care what it is :)

It might be Config#archname64

See also http://perl5.git.perl.org/perl.git/blob/HEAD:/INSTALL , http://perl5.git.perl.org/perl.git/blob/HEAD:/Configure

  • Comment on Re: How does the Perl choose between lib and lib64?

Replies are listed 'Best First'.
Re^2: How does the Perl choose between lib and lib64?
by AlexFromNJ (Novice) on Nov 11, 2011 at 20:29 UTC

    Why do I want to control this choice? Because when I install a Perl module into some central place (let's say with "lib"), then somebody tries to access it from another machine, where the same Perl looks for "lib64" - it's a disaster...

    So I used to write my modulefiles with both "lib" and "lib64", so the PERL5LIB value becomes twice as long as it should be - it doesn't look right

    Thanks
    Alex

      As a workaround, you could make one directory a symlink to the other... (so they're effectively the same)