4 messages in com.mysql.lists.perlRe: Error compiling DBD
FromSent OnAttachments
Drew Skinner27 May 2004 13:39 
Jochen Wiedmann27 May 2004 13:47 
Rudy Lippan27 May 2004 13:51 
Drew Skinner27 May 2004 13:55 
Subject:Re: Error compiling DBD
From:Rudy Lippan (rlip@remotelinux.com)
Date:05/27/2004 01:51:03 PM
List:com.mysql.lists.perl

On Thu, 27 May 2004, Drew Skinner wrote:

Hi;

I have a 64 bit perl and 64 bit mysql 4.0.20 compiled, but I cannot get DBD to compile.

rm -f blib/arch/auto/DBD/mysql/mysql.so LD_RUN_PATH="/usr/local/mysql/lib/mysql:/usr/lib" /usr/bin/perl myld gcc -G -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/mysql/lib/mysql -lmysqlclient -lcrypt -lnsl -lm ld: fatal: file /usr/local/mysql/lib/mysql/libmysqlclient.so: wrong ELF class: ELFCLASS64

It looks like you are tyring to link 64 & 32 bit code together.

Rudy