Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Fix a broken Perl install after 2009-01 Security Update UNIX
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:
$ mkdir -p /SourceCache
$ cd /SourceCache
$ curl -O
$ 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 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.]
  • Currently 2.70 / 5
  You rated: 5 / 5 (10 votes cast)

Fix a broken Perl install after 2009-01 Security Update | 4 comments | Create New Account
Click here to return to the 'Fix a broken Perl install after 2009-01 Security Update' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Only Certain Perl Modules
Authored by: Makosuke on Feb 23, '09 01:23:03PM

Yep, I can confirm that it's only certain modules from CPAN that cause this issue; my Perl has several additional text processing modules installed off of CPAN, but it definitely runs without complaint after that security update.

[ Reply to This | # ]
Fix a broken Perl install after 2009-01 Security Update
Authored by: CyberSkull on Feb 23, '09 02:01:28PM

CPAN seems to work fine now that I re-installed those 3 modules.

[ Reply to This | # ]
Find a CPAN Mirror near you
Authored by: buck on Feb 23, '09 04:09:56PM
I'm sure that I'm preaching to the choir somewhat, but the URL mentioned in the hint is not the only mirror site for CPAN. Check out the CPAN Mirrors list to find one near you.

It's a very dark ride.

[ Reply to This | # ]

Fix a broken Perl install after 2009-01 Security Update
Authored by: delux on Feb 23, '09 07:50:02PM
If you installed Perl with Fink or MacPorts, you're not necessarily immune to the Apple's Camel Killer update. If you are using such an alternative location, as is recommended my other discussion boards as a way to avoid such vender update problems, the solution presented here may not work. My main perl installation was in /opt/ but for some reason perl referred to /System/ and /Library/'s IO. Reinstalling IO just updated the version in /opt/. I couldn't get Make to change the destination without a bunch of extra work. Now I'm looking at spending some long hours getting ImageMagick and the infinite dependency tree working again.

[ Reply to This | # ]