MikeDacre has asked for the wisdom of the Perl Monks concerning the following question:
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:
/root/perl5/perlbrew/perls/perl-5.16.2/bin/perl: symbol lookup error: +/usr/lib64/perl5/vendor_perl/auto/Compress/Raw/Zlib/Zlib.so: undefine +d symbol: Perl_Gthr_key_ptr
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?
Thank you!
Mike
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Second Perl Install Using Libraries from System Perl
by tobyink (Canon) on Dec 06, 2012 at 07:54 UTC | |
by Shuraski (Scribe) on Dec 09, 2012 at 03:02 UTC |