2 Feb 2005 18:34
Compile Problems on AIX 5.2
Carol Williams <cshw2002 <at> yahoo.com>
2005-02-02 17:34:28 GMT
2005-02-02 17:34:28 GMT
I am trying to compile the module DBD-mysql-2.9004 on
an AIX 5.2 server, running perl 5.8.5 and mysql 4.1.8.
I am using the AIX C compiler version 6.0. Both perl
and mysql were compiled using this compiler. I get
the following error when I try to compile the
DBD-mysql module.
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="" /usr/bin/perl myld ld -bhalt:4
-bM:SRE
-bI:/usr/local/lib/perl5/5.8.5/aix/CORE/perl.exp
-bE:mysql.exp -bnoentry -lc -L/usr/local/lib dbdimp.o
mysql.o -o blib/arch/auto/DBD/mysql/mysql.so
-L/usr/local/mysql/lib -lmysqlclient -lcrypt -lnsl_r
-lm -lz
ld: 0711-317 ERROR: Undefined symbol:
.mysql_field_seek
ld: 0711-317 ERROR: Undefined symbol:
.mysql_fetch_field
ld: 0711-317 ERROR: Undefined symbol: .mysql_errno
ld: 0711-317 ERROR: Undefined symbol: .mysql_error
ld: 0711-317 ERROR: Undefined symbol: .mysql_init
ld: 0711-317 ERROR: Undefined symbol: .mysql_options
ld: 0711-317 ERROR: Undefined symbol:
.mysql_real_connect
ld: 0711-317 ERROR: Undefined symbol:
.mysql_real_escape_string
ld: 0711-317 ERROR: Undefined symbol:
(Continue reading)
A simple
export LANG=C
before doing the installation should do.
Jochen
--
Sum. Cogitone?
RSS Feed