Re: Compile Problems on AIX 5.2

Rudy Lippan <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
On Wed, 2 Feb 2005, Carol Williams wrote:

> Date: Wed, 2 Feb 2005 09:34:28 -0800 (PST)
> From: Carol Williams <[email protected]>
> To: [email protected]
> 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/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.