Compile Problems on AIX 5.2

Compile Problems on AIX 5.2

am 02.02.2005 18:34:28 von Carol Williams

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:
..mysql_free_result
ld: 0711-317 ERROR: Undefined symbol:
..mysql_list_fields
ld: 0711-317 ERROR: Undefined symbol:
..mysql_real_query
ld: 0711-317 ERROR: Undefined symbol:
..mysql_use_result
ld: 0711-317 ERROR: Undefined symbol:
..mysql_store_result
ld: 0711-317 ERROR: Undefined symbol:
..mysql_affected_rows
ld: 0711-317 ERROR: Undefined symbol: .mysql_num_rows
ld: 0711-317 ERROR: Undefined symbol: .mysql_fetch_row
ld: 0711-317 ERROR: Undefined symbol:
..mysql_fetch_lengths
ld: 0711-317 ERROR: Undefined symbol: .mysql_insert_id
ld: 0711-317 ERROR: Undefined symbol:
..mysql_num_fields
ld: 0711-317 ERROR: Undefined symbol:
..mysql_get_host_info
ld: 0711-317 ERROR: Undefined symbol: .mysql_info
ld: 0711-317 ERROR: Undefined symbol:
..mysql_get_proto_info
ld: 0711-317 ERROR: Undefined symbol:
..mysql_get_server_info
ld: 0711-317 ERROR: Undefined symbol: .mysql_stat
ld: 0711-317 ERROR: Undefined symbol: .mysql_thread_id
ld: 0711-317 ERROR: Undefined symbol: .mysql_close
ld: 0711-317 ERROR: Undefined symbol: .is_prefix
ld: 0711-317 ERROR: Undefined symbol:
..mysql_get_parameters
ld: 0711-317 ERROR: Undefined symbol: .mysql_data_seek
ld: 0711-317 ERROR: Undefined symbol: .mysql_ping
ld: 0711-317 ERROR: Undefined symbol: .mysql_list_dbs
ld: 0711-317 ERROR: Undefined symbol: .mysql_shutdown
ld: 0711-317 ERROR: Undefined symbol: .mysql_refresh
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.

Any Ideals?

Carol




__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Compile Problems on AIX 5.2

am 02.02.2005 20:55:27 von Rudy Lippan

On Wed, 2 Feb 2005, Carol Williams wrote:

> Date: Wed, 2 Feb 2005 09:34:28 -0800 (PST)
> From: Carol Williams
> To: perl@lists.mysql.com
> Subject: Compile Problems on AIX 5.2
>
> 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

Looks like your linker is unable to find the mysql client libraries.

Rudy


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org