in reply to How to install local lib

The problem is that you haven't told Perl to use your local lib. Add the following to your login script ~/.bash_profile if you use the parameters I suggest below:

export PERL5LIB=/sox/perl_lib/lib/perl5

PREFIX has a poor default for LIB=. The following is recommended instead:

perl Makefile.PL PREFIX=/sox/perl_lib LIB=/sox/perl_lib/lib/perl5

If you have ExtUtils::MakeMaker 6.31 or newer, you can write that as

perl Makefile.PL INSTALL_BASE=/sox/perl_lib

Replies are listed 'Best First'.
Re^2: How to install local lib
by mr_p (Scribe) on Apr 16, 2010 at 14:48 UTC
    Thank you so much.

    I am trying to create another thread on the following an the site is not letting me create do u know why? Is it because I have this thread active.

    I have question on Threads::Queue::Any.

    Hello,

    Does anyone know if Threads::Queue::Any is safe to use, Currently I am using Threads::Queue and queuing a stiring with '|' delimited and spliting string after dequeing it.

    Or can anyone think of better way to do this? I still would like to used Threads::Queue though.

Re^2: How to install local lib
by mr_p (Scribe) on Apr 16, 2010 at 15:06 UTC

    I tried it and still not working.

    Warning: prerequisite threads::shared 1.21 not found. We have 0.94.

      Are you saying you have version 0.94 of Threads::Shared? You realise you are being asked for version 1.21?

        He's trying to install the latest version locally, but it's not getting picked up.
      Did you actually execute your login script (by logging in)? What's perl -V (uppercase "V") give?
        OK I got it. It was /sox/perl_libs/lib64/perl5...

        should I always export both lib64 and lib?