|laziness, impatience, and hubris|
I am having a really silly problem with Perl. I have a CentOS 6.2 system with perl 5.10.1 installed by default. I want to install the latest, 5.16.2. I have tried a number of different approaches: running ./Configure with all defaults, installing to /usr/local, installing to /opt/perl, and installing with perlbrew (using perlbrew install perl-5.16.2). All seem to work fine, but then I get problems when I run perl or cpan. It looks like the new perl is linking to the libraries of the old perl. I get errors like this one:
Removing Zlib doesn't help, I just get an error from a different shared library. Any idea what I can do to prevent this cross linking?
In reply to Second Perl Install Using Libraries from System Perl by MikeDacre