With your hint, I found the solution. It seems to be apple's fault as someone said.
Here is what I did.
First, I verified that the developer tools are installed by replacing ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc'
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc' in file "/System/Library/Perl/5.8.1/darwin-thread-multi-2level/Config.pm".
Second, I run
sudo ln -s /Developer/SDKs/MacOSX10.3.0.sdk/usr/lib/bundle1.o /usr/lib
This will create a symbolic link between where apple has installed that file and where they were supposed to install the file. Presumably the MACOS_DEPLOYMENT_TARGET environment variable was supposed to address that, but actually it hasn't.
Then I began to install the SWISH::stemmer perl module and got no error. After the stemmer module was installed successfully. The error "Can't locate loadable object for module SWISH::Stemmer in @INC" is gone.
---- Original message ----
>Date: Fri, 12 Jan 2007 23:41:38 -0800 (PST)
>From: David L Norris <firstname.lastname@example.org>
>Subject: [SWISH-E] Re: Need help on installing SWISH::Stemmer perl
>To: Multiple recipients of list <email@example.com>
>On Fri, 2007-01-12 at 20:09 -0800, firstname.lastname@example.org wrote:
>> I have spent several days on finding the cause of the error but got nothing. I am going mad with it. Does anybody can help me on this?
>Is this maybe a PowerPC Mac (OS X Panther or so)? If so, your problem
>might be with Apple Xcode not properly installing bundle1.o. This seems
>to be a very common problem looking around Google. You might try
>reinstalling DevSDK and all the other development tools. You might
>want/need to grab a newer version of Xcode (1.5 or newer?) from
> David L Norris
> ICQ - 412039
Received on Sat Jan 13 10:46:35 2007