4 messages in com.mysql.lists.perlRe: Problem with DBD::mysql and AIX w...
FromSent OnAttachments
Dan Rizzi03 Feb 2004 13:11 
Rudy Lippan03 Feb 2004 13:57 
Garry Williams03 Feb 2004 14:12 
Jochen Wiedmann04 Feb 2004 12:31 
Subject:Re: Problem with DBD::mysql and AIX with make
From:Rudy Lippan (rlip@remotelinux.com)
Date:02/03/2004 01:57:31 PM
List:com.mysql.lists.perl

On Tue, 3 Feb 2004, Dan Rizzi wrote:

I am running AIX 5.1.0.0, I have installed with DBI - 1.40, DBD 2.9003 and Perl
5.8.2 and mysql 4.0.17 Perl came from the UCLA/IBM website, DBI from CPAN, DBD-mysgl through your
web-site and mysql from your web-site. Perl I took in binary, compiled DBD went
OK, when I tried to compile DBD mysql I got the following. I ran perl Makefile.PL - it ran OK I ran make - thsi was the errors I am using the AIX C compiler 5.0.2.0 I have tired different versions, I can not get perl to recognise the mysql DBD
module. HELP!

ld: 0711-317 ERROR: Undefined symbol: .floor ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 1.

I don't know much about AIX, but it looks like thing compiled just fine, but your linker is unable to find the function floor. You might need to add the libraray that defines 'floor' to the --libs option to Makefile.PL. Maybe something like '-lmath'?

Rudy