Fix a broken Perl install after 2009-01 Security Update
Feb 23, '09 07:30:03AM • Contributed by: gregraven
Feb 23, '09 07:30:03AM • Contributed by: gregraven
It appears that if you have used CPAN to augment your default Perl installation, then Security Update 2009-001 "kills" Perl, so your scripts won't run. There is a more discussion about this in this Apple Discussions thread.
The fix mentioned in that thread that worked for me was the following, all done in Terminal:
[robg adds: According to the linked discussion, only those who have updated certain core Perl modules via CPAN will have this problem. In this post (linked in the above discussion), the author states more specifically that the problem is that "the Security Update brings (old) IO.bundle with version 1.22, but your IO.pm has been updated to the latest 1.23 on CPAN shell." The author mentions you may have to make similar fixes to the Scalar::Util and Storable modules. I haven't tested this one.]
The fix mentioned in that thread that worked for me was the following, all done in Terminal:
$ mkdir -p /SourceCache
$ cd /SourceCache
$ curl -O http://cpan.mirror.solnet.ch/authors/id/G/GB/GBARR/IO-1.2301.tar.gz
$ tar xzf IO-1.2301.tar.gz
$ cd IO-1.2301
$ perl Makefile.PL
$ make
$ make install
Note that for some of the above commands, you must be logged in as root, or run using sudo.
[robg adds: According to the linked discussion, only those who have updated certain core Perl modules via CPAN will have this problem. In this post (linked in the above discussion), the author states more specifically that the problem is that "the Security Update brings (old) IO.bundle with version 1.22, but your IO.pm has been updated to the latest 1.23 on CPAN shell." The author mentions you may have to make similar fixes to the Scalar::Util and Storable modules. I haven't tested this one.]
•
[10,006 views]
