Feeds

Apple's Mac OS X update breaks Perl

Never trust a vendor

The hidden costs of self-signed SSL certificates

Apple's latest Mac OS X security update has a knack for breaking Perl, according to Mac users across the web.

"I've just done the update using Software update and just about everything I look at is working, except that perl seems to have gone almost AWOL," says one Mac OS X user, with a post to Apple's support forum.

"I seen it pop up occasionally in the Activity Monitor, but, when I try to run perl scripts from the command line or the cron jobs that ran flawlessly before the update, nothing happens. Period."

Two additional support forum visitors say they've experienced similar problems with the popular programming language following Mac updates, and others have complained of Perl breakage on a public Perl mailing list and an independent blog.

Apple did not immediately respond to a request for comment. The company released its Security Update 2009-001 on Thursday.

According to blogger Tatsuhiko Miyagawa, Perl breakage only occurs if you're running Leopard (Mac OS X 10.5), you're using the Perl distro baked into the OS, and you've updated the distro via CPAN (Comprehensive Perl Archive Network), a widely-used collection of existing Perl modules.

Miyagawa's post says the problem generates error messages that look something like this:

% perl -MIO IO object version 1.22 does not match bootstrap parameter 1.23 at /System/Library/Perl/5.8.8/darwin-thread-multi-2level/XSLoader.pm line 94.

Compilation failed in require. BEGIN failed--compilation aborted

This would indicate that Apple's security update reverts Mac Perl to an older IO object incompatible with newer CPAN modules. "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. (But hey, 1.23 was released in 2006...Why do you bring that ancient version back, Apple!?)," Miyagawa writes.

The blogger claims you can fix the problem if you reload the IO module. But since Perl is broken, this takes a little finesse. "The fix is to update IO.pm to 1.23, but since IO.pm is now broken, you can't even run CPAN shell to do this (Ugh!). You need to go to CPAN and grab IO-1.2301.tar.gz, unpack it and run 'perl Makefile.PL; make; sudo make install' to fix this."

And one support forum poster says the fix is only a partial solution.

"This is another reason why you shouldn't use Perl that comes from vendors," Miyagawa says. "Apple isn't any different from Fedora on this!" ®

Security and trust: The backbone of doing business over the internet

More from The Register

next story
All but full-fat MS Office to be had on iPads, Droidenslabben for NOWT
Office 365 subscription still needed for 'full experience'
Microsoft: It's TIME at LAST. Yes - .NET is going OPEN and X-PLATFORM
Redmond squares up to Java on Windows, Linux, OS X
DROIDS - everywhere! Is Apple really even in the game any more?
I ain't drinking the Kool Aid, but I can't avoid swimming in it
OpenSUSE 13.2: Have your gecko and eat your rolling distro too
New development model, new distro, same class
Languages don't breed bugs, PEOPLE breed bugs, say boffins
You say C++, I say Python, you say JavaScript, I say Erlang ...
MoD releases code to GitHub: Our Ideaworks... sort of
'We don’t pretend that the code is the best ever written'
Mozilla promises browser just for DEVELOPERS3
Something called #FX10 is coming next week
Super-villains of C sought for WORLD CONQUEST plan
'Do be evil' code contest challenges devs to develop nasties we can all learn from
prev story

Whitepapers

Choosing cloud Backup services
Demystify how you can address your data protection needs in your small- to medium-sized business and select the best online backup service to meet your needs.
Security management 2.0
It’s time to slay the sacred cow of your substantial SIEM investment, and figure out objectively what offers you the best fit moving forward.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
The hidden costs of self-signed SSL certificates
Exploring the true TCO for self-signed SSL certificates, including a side-by-side comparison of a self-signed architecture versus working with a third-party SSL vendor.
Assembling a next gen enterprise web infrastructure
Delivering the solution that both simplifies management of multiple sites and lowers their total cost of ownership.