Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 17342
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: megastuff [...] mac.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 2.9008
  • 2.9015_3
  • 3.0000
  • 3.0000_0
  • 3.0001
  • 3.0001_0
  • 3.0001_1
  • 3.0001_2
  • 3.0001_3
  • 3.0002
  • 3.0002_1
  • 3.0002_2
  • 3.0002_3
  • 3.0002_4
Fixed in: (no value)



Subject: OSX Tiger 10.4.4 cannot make DBD::mysql
Have tried installing several versions of module with the same results... `perl Makefile.PL` shows the following errors... Unrecognized argument in LIBS ignored: '-arch' Unrecognized argument in LIBS ignored: 'ppc64' then `make` show the following errors and dies... /usr/bin/ld: dbdimp.o bad magic number (not a Mach-O file) /usr/bin/ld: mysql.o bad magic number (not a Mach-O file) /usr/bin/ld: truncated or malformed archive: /usr/local/mysql/lib/libmysqlclient.a (ranlib structures in table of contents extends past the end of the table of contents, can't load from it) collect2: ld returned 1 exit status make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1 full output below make cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm cp lib/Mysql.pm blib/lib/Mysql.pm cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/ -I/usr/local/mysql/ include -Os -arch ppc64 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -g -pipe - fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include - Os -DVERSION=\"3.0002_1\" -DXS_VERSION=\"3.0002_1\" "-I/System/Library/Perl/5.8.6/ darwin-thread-multi-2level/CORE" dbdimp.c /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /Library/Perl/5.8.6/darwin-thread-multi-2level/ auto/DBI//Driver.xst > mysql.xsi /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap /System/Library/Perl/ 5.8.6/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c Warning: duplicate function definition 'do' detected in mysql.xs, line 224 Warning: duplicate function definition 'rows' detected in mysql.xs, line 557 cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/ -I/usr/local/mysql/ include -Os -arch ppc64 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -g -pipe - fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include - Os -DVERSION=\"3.0002_1\" -DXS_VERSION=\"3.0002_1\" "-I/System/Library/Perl/5.8.6/ darwin-thread-multi-2level/CORE" mysql.c Running Mkbootstrap for DBD::mysql () chmod 644 mysql.bs rm -f blib/arch/auto/DBD/mysql/mysql.bundle LD_RUN_PATH="" /usr/bin/perl myld env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/ mysql/mysql.bundle -L/usr/local/mysql/lib -lmysqlclient -lz -lm /usr/bin/ld: dbdimp.o bad magic number (not a Mach-O file) /usr/bin/ld: mysql.o bad magic number (not a Mach-O file) /usr/bin/ld: truncated or malformed archive: /usr/local/mysql/lib/libmysqlclient.a (ranlib structures in table of contents extends past the end of the table of contents, can't load from it) collect2: ld returned 1 exit status make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
From: janra
I installed it just now via the CPAN shell with no problems, on 10.4.4. Well, it failed because it didn't have DBI listed as a prerequisite and after I installed DBI it wouldn't compile until I got CPAN to get a fresh tarball, but then it worked fine with no special options. -janra
From: jbfc [...] andrew.cmu.edu
I get the same results on a stock installation of 10.4 with the .4 update. MySQL 5.0 and DBI 1.5. It fails with cpan and manual install. I have tried with gcc 3.x and gcc 4.0. Nothing has worked. On Sun Jan 29 10:48:56 2006, guest wrote: Show quoted text
> Have tried installing several versions of module with the same > results... > > `perl Makefile.PL` shows the following errors... > Unrecognized argument in LIBS ignored: '-arch' > Unrecognized argument in LIBS ignored: 'ppc64' > > then `make` show the following errors and dies... > > /usr/bin/ld: dbdimp.o bad magic number (not a Mach-O file) > /usr/bin/ld: mysql.o bad magic number (not a Mach-O file) > /usr/bin/ld: truncated or malformed archive: > /usr/local/mysql/lib/libmysqlclient.a (ranlib > structures in table of contents extends past the end of the table of > contents, can't load from > it) > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1 > > full output below > > make > cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm > cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm > cp lib/Mysql.pm blib/lib/Mysql.pm > cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod > cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm > cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm > cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/ > -I/usr/local/mysql/ > include -Os -arch ppc64 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g > -g -pipe - > fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing > -I/usr/local/include - > Os -DVERSION=\"3.0002_1\" -DXS_VERSION=\"3.0002_1\" "- > I/System/Library/Perl/5.8.6/ > darwin-thread-multi-2level/CORE" dbdimp.c > /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /Library/Perl/5.8.6/darwin- > thread-multi-2level/ > auto/DBI//Driver.xst > mysql.xsi > /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap > /System/Library/Perl/ > 5.8.6/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c > Warning: duplicate function definition 'do' detected in mysql.xs, line > 224 > Warning: duplicate function definition 'rows' detected in mysql.xs, > line 557 > cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/ > -I/usr/local/mysql/ > include -Os -arch ppc64 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g > -g -pipe - > fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing > -I/usr/local/include - > Os -DVERSION=\"3.0002_1\" -DXS_VERSION=\"3.0002_1\" "- > I/System/Library/Perl/5.8.6/ > darwin-thread-multi-2level/CORE" mysql.c > Running Mkbootstrap for DBD::mysql () > chmod 644 mysql.bs > rm -f blib/arch/auto/DBD/mysql/mysql.bundle > LD_RUN_PATH="" /usr/bin/perl myld env MACOSX_DEPLOYMENT_TARGET=10.3 cc > -bundle > -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o -o > blib/arch/auto/DBD/ > mysql/mysql.bundle -L/usr/local/mysql/lib -lmysqlclient -lz -lm > /usr/bin/ld: dbdimp.o bad magic number (not a Mach-O file) > /usr/bin/ld: mysql.o bad magic number (not a Mach-O file) > /usr/bin/ld: truncated or malformed archive: > /usr/local/mysql/lib/libmysqlclient.a (ranlib > structures in table of contents extends past the end of the table of > contents, can't load from > it) > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
From: jbfc [...] andrew.cmu.edu
On Thu Feb 16 20:50:41 2006, guest wrote: Show quoted text
> I get the same results on a stock installation of 10.4 with the .4 > update. MySQL 5.0 and DBI > 1.5. It fails with cpan and manual install. I have tried with gcc 3.x > and gcc 4.0. Nothing has > worked.
This is on a quad G5. Show quoted text
>
Show quoted text
> On Sun Jan 29 10:48:56 2006, guest wrote:
> > Have tried installing several versions of module with the same > > results... > > > > `perl Makefile.PL` shows the following errors... > > Unrecognized argument in LIBS ignored: '-arch' > > Unrecognized argument in LIBS ignored: 'ppc64' > > > > then `make` show the following errors and dies... > > > > /usr/bin/ld: dbdimp.o bad magic number (not a Mach-O file) > > /usr/bin/ld: mysql.o bad magic number (not a Mach-O file) > > /usr/bin/ld: truncated or malformed archive: > > /usr/local/mysql/lib/libmysqlclient.a (ranlib > > structures in table of contents extends past the end of the table of > > contents, can't load from > > it) > > collect2: ld returned 1 exit status > > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1 > > > > full output below > > > > make > > cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm > > cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm > > cp lib/Mysql.pm blib/lib/Mysql.pm > > cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod > > cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm > > cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm > > cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/ > > -I/usr/local/mysql/ > > include -Os -arch ppc64 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g > > -g -pipe - > > fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing > > -I/usr/local/include - > > Os -DVERSION=\"3.0002_1\" -DXS_VERSION=\"3.0002_1\" "- > > I/System/Library/Perl/5.8.6/ > > darwin-thread-multi-2level/CORE" dbdimp.c > > /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /Library/Perl/5.8.6/darwin- > > thread-multi-2level/ > > auto/DBI//Driver.xst > mysql.xsi > > /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap > > /System/Library/Perl/ > > 5.8.6/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c > > Warning: duplicate function definition 'do' detected in mysql.xs,
> line
> > 224 > > Warning: duplicate function definition 'rows' detected in mysql.xs, > > line 557 > > cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/ > > -I/usr/local/mysql/ > > include -Os -arch ppc64 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g > > -g -pipe - > > fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing > > -I/usr/local/include - > > Os -DVERSION=\"3.0002_1\" -DXS_VERSION=\"3.0002_1\" "- > > I/System/Library/Perl/5.8.6/ > > darwin-thread-multi-2level/CORE" mysql.c > > Running Mkbootstrap for DBD::mysql () > > chmod 644 mysql.bs > > rm -f blib/arch/auto/DBD/mysql/mysql.bundle > > LD_RUN_PATH="" /usr/bin/perl myld env MACOSX_DEPLOYMENT_TARGET=10.3
> cc
> > -bundle > > -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o -o > > blib/arch/auto/DBD/ > > mysql/mysql.bundle -L/usr/local/mysql/lib -lmysqlclient -lz -lm > > /usr/bin/ld: dbdimp.o bad magic number (not a Mach-O file) > > /usr/bin/ld: mysql.o bad magic number (not a Mach-O file) > > /usr/bin/ld: truncated or malformed archive: > > /usr/local/mysql/lib/libmysqlclient.a (ranlib > > structures in table of contents extends past the end of the table of > > contents, can't load from > > it) > > collect2: ld returned 1 exit status > > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
> >
I solved the problem by installing the 32 bit version of MysQL 5.0. DBD::mysql 2.009 built just fine.
Subject: Re: [rt.cpan.org #17342] OSX Tiger 10.4.4 cannot make DBD::mysql
Date: Tue, 21 Feb 2006 06:41:08 -0600
To: bug-DBD-mysql [...] rt.cpan.org
From: Gino Milazzo <megastuff [...] mac.com>
Any idea where you can get that version. It's not available at cpan. On Feb 20, 2006, at 7:30 PM, Guest via RT wrote: Show quoted text
> I solved the problem by installing the 32 bit version of MysQL 5.0. > DBD::mysql 2.009 built just > fine. > >
Has anyone come up with a solution for this error?
From: Jeff
On Sun Apr 30 11:50:29 2006, guest wrote: Show quoted text
> Has anyone come up with a solution for this error?
I finally got this stuff working. From <a href="http://bugs.mysql.com/bug.php?id=14386">This bug report</a> I found the workaround below. You want to create a symbolic link for the correct directory for what mysql_config is reporting: # cd /usr/local/mysql/include # ln -s ./ mysql # cd ../lib # ln -s ./ mysql Did this, ran the cpan install, and it worked perfectly. This is on 10.4.6 with dual G5s.
On Sun Jan 29 10:48:56 2006, guest wrote: Show quoted text
> Have tried installing several versions of module with the same > results... > > `perl Makefile.PL` shows the following errors... > Unrecognized argument in LIBS ignored: '-arch' > Unrecognized argument in LIBS ignored: 'ppc64' > > then `make` show the following errors and dies... > > /usr/bin/ld: dbdimp.o bad magic number (not a Mach-O file) > /usr/bin/ld: mysql.o bad magic number (not a Mach-O file) > /usr/bin/ld: truncated or malformed archive: > /usr/local/mysql/lib/libmysqlclient.a (ranlib > structures in table of contents extends past the end of the table of > contents, can't load from > it) > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1 > > full output below > > make > cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm > cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm > cp lib/Mysql.pm blib/lib/Mysql.pm > cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod > cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm > cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm > cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/ > -I/usr/local/mysql/ > include -Os -arch ppc64 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g > -g -pipe - > fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing > -I/usr/local/include - > Os -DVERSION=\"3.0002_1\" -DXS_VERSION=\"3.0002_1\" "- > I/System/Library/Perl/5.8.6/ > darwin-thread-multi-2level/CORE" dbdimp.c > /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /Library/Perl/5.8.6/darwin- > thread-multi-2level/ > auto/DBI//Driver.xst > mysql.xsi > /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap > /System/Library/Perl/ > 5.8.6/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c > Warning: duplicate function definition 'do' detected in mysql.xs, line > 224 > Warning: duplicate function definition 'rows' detected in mysql.xs, > line 557 > cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/ > -I/usr/local/mysql/ > include -Os -arch ppc64 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g > -g -pipe - > fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing > -I/usr/local/include - > Os -DVERSION=\"3.0002_1\" -DXS_VERSION=\"3.0002_1\" "- > I/System/Library/Perl/5.8.6/ > darwin-thread-multi-2level/CORE" mysql.c > Running Mkbootstrap for DBD::mysql () > chmod 644 mysql.bs > rm -f blib/arch/auto/DBD/mysql/mysql.bundle > LD_RUN_PATH="" /usr/bin/perl myld env MACOSX_DEPLOYMENT_TARGET=10.3 cc > -bundle > -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o -o > blib/arch/auto/DBD/ > mysql/mysql.bundle -L/usr/local/mysql/lib -lmysqlclient -lz -lm > /usr/bin/ld: dbdimp.o bad magic number (not a Mach-O file) > /usr/bin/ld: mysql.o bad magic number (not a Mach-O file) > /usr/bin/ld: truncated or malformed archive: > /usr/local/mysql/lib/libmysqlclient.a (ranlib > structures in table of contents extends past the end of the table of > contents, can't load from > it) > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
Hi there! Is your mysql version a binary from mysql's site? G5 you mentioned? On Mon Jun 12 17:43:16 2006, guest wrote: Show quoted text
> On Sun Jan 29 10:48:56 2006, guest wrote:
> > Have tried installing several versions of module with the same > > results... > > > > `perl Makefile.PL` shows the following errors... > > Unrecognized argument in LIBS ignored: '-arch' > > Unrecognized argument in LIBS ignored: 'ppc64' > > > > then `make` show the following errors and dies... > > > > /usr/bin/ld: dbdimp.o bad magic number (not a Mach-O file) > > /usr/bin/ld: mysql.o bad magic number (not a Mach-O file) > > /usr/bin/ld: truncated or malformed archive: > > /usr/local/mysql/lib/libmysqlclient.a (ranlib > > structures in table of contents extends past the end of the table of > > contents, can't load from > > it) > > collect2: ld returned 1 exit status > > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1 > > > > full output below > > > > make > > cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm > > cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm > > cp lib/Mysql.pm blib/lib/Mysql.pm > > cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod > > cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm > > cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm > > cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/ > > -I/usr/local/mysql/ > > include -Os -arch ppc64 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g > > -g -pipe - > > fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing > > -I/usr/local/include - > > Os -DVERSION=\"3.0002_1\" -DXS_VERSION=\"3.0002_1\" "- > > I/System/Library/Perl/5.8.6/ > > darwin-thread-multi-2level/CORE" dbdimp.c > > /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /Library/Perl/5.8.6/darwin- > > thread-multi-2level/ > > auto/DBI//Driver.xst > mysql.xsi > > /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap > > /System/Library/Perl/ > > 5.8.6/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c > > Warning: duplicate function definition 'do' detected in mysql.xs, line > > 224 > > Warning: duplicate function definition 'rows' detected in mysql.xs, > > line 557 > > cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/ > > -I/usr/local/mysql/ > > include -Os -arch ppc64 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g > > -g -pipe - > > fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing > > -I/usr/local/include - > > Os -DVERSION=\"3.0002_1\" -DXS_VERSION=\"3.0002_1\" "- > > I/System/Library/Perl/5.8.6/ > > darwin-thread-multi-2level/CORE" mysql.c > > Running Mkbootstrap for DBD::mysql () > > chmod 644 mysql.bs > > rm -f blib/arch/auto/DBD/mysql/mysql.bundle > > LD_RUN_PATH="" /usr/bin/perl myld env MACOSX_DEPLOYMENT_TARGET=10.3 cc > > -bundle > > -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o -o > > blib/arch/auto/DBD/ > > mysql/mysql.bundle -L/usr/local/mysql/lib -lmysqlclient -lz -lm > > /usr/bin/ld: dbdimp.o bad magic number (not a Mach-O file) > > /usr/bin/ld: mysql.o bad magic number (not a Mach-O file) > > /usr/bin/ld: truncated or malformed archive: > > /usr/local/mysql/lib/libmysqlclient.a (ranlib > > structures in table of contents extends past the end of the table of > > contents, can't load from > > it) > > collect2: ld returned 1 exit status > > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
> >
Per email with Scott Yoshinaga, This is a problem with the binary that apple has default installed on intel OSX, which mysql_config reports incorrect flags to DBD::mysql's "perl Makefile.PL" On Sun Jan 29 10:48:56 2006, guest wrote: Show quoted text
> Have tried installing several versions of module with the same > results... > > `perl Makefile.PL` shows the following errors... > Unrecognized argument in LIBS ignored: '-arch' > Unrecognized argument in LIBS ignored: 'ppc64' > > then `make` show the following errors and dies... > > /usr/bin/ld: dbdimp.o bad magic number (not a Mach-O file) > /usr/bin/ld: mysql.o bad magic number (not a Mach-O file) > /usr/bin/ld: truncated or malformed archive: > /usr/local/mysql/lib/libmysqlclient.a (ranlib > structures in table of contents extends past the end of the table of > contents, can't load from > it) > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1 > > full output below > > make > cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm > cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm > cp lib/Mysql.pm blib/lib/Mysql.pm > cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod > cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm > cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm > cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/ > -I/usr/local/mysql/ > include -Os -arch ppc64 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g > -g -pipe - > fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing > -I/usr/local/include - > Os -DVERSION=\"3.0002_1\" -DXS_VERSION=\"3.0002_1\" "- > I/System/Library/Perl/5.8.6/ > darwin-thread-multi-2level/CORE" dbdimp.c > /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /Library/Perl/5.8.6/darwin- > thread-multi-2level/ > auto/DBI//Driver.xst > mysql.xsi > /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap > /System/Library/Perl/ > 5.8.6/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c > Warning: duplicate function definition 'do' detected in mysql.xs, line > 224 > Warning: duplicate function definition 'rows' detected in mysql.xs, > line 557 > cc -c -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/ > -I/usr/local/mysql/ > include -Os -arch ppc64 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g > -g -pipe - > fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing > -I/usr/local/include - > Os -DVERSION=\"3.0002_1\" -DXS_VERSION=\"3.0002_1\" "- > I/System/Library/Perl/5.8.6/ > darwin-thread-multi-2level/CORE" mysql.c > Running Mkbootstrap for DBD::mysql () > chmod 644 mysql.bs > rm -f blib/arch/auto/DBD/mysql/mysql.bundle > LD_RUN_PATH="" /usr/bin/perl myld env MACOSX_DEPLOYMENT_TARGET=10.3 cc > -bundle > -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o -o > blib/arch/auto/DBD/ > mysql/mysql.bundle -L/usr/local/mysql/lib -lmysqlclient -lz -lm > /usr/bin/ld: dbdimp.o bad magic number (not a Mach-O file) > /usr/bin/ld: mysql.o bad magic number (not a Mach-O file) > /usr/bin/ld: truncated or malformed archive: > /usr/local/mysql/lib/libmysqlclient.a (ranlib > structures in table of contents extends past the end of the table of > contents, can't load from > it) > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1