On Tue, Aug 12, 2008 at 5:43 PM, Wes Hardaker <
[EMAIL PROTECTED]> wrote:

> FYI, I tried moving the above Zlib.so aside and it worked after that...
> so it is definitely loading the wrong Zlib package first.  My guess is
> that the unzip process isn't setting the right path and @INC is changing
> later than the unziping process?
>

You probably did

pp -o foo -e 'print "[EMAIL PROTECTED] = @INC\n";'
./foo

already and checked that the output doesn't  contain anything below /usr?

The Compress::*  modules are special in that they get extracted in an
earlier phase (because Archive::Zip needs them to extract stuff
from the PAR archive in the packed executable). So your guess may be
right.

Another possibility is that some Compress::* modules might contain
hardcoded information that takes precedence, e.g. an RPATH
entry in one of the shared libraries.

Cheers, Roderich

Reply via email to