5 messages in com.mysql.lists.perlRe: problem compiling Msql-Mysql DBD ...
FromSent OnAttachments
David Wartell29 Jun 1999 17:15 
Eric S. Theise30 Jun 1999 00:08 
Jochen Wiedmann30 Jun 1999 01:18 
Eric S. Theise30 Jun 1999 02:04 
Jochen Wiedmann01 Jul 1999 02:34 
Subject:Re: problem compiling Msql-Mysql DBD Module
From:Jochen Wiedmann (jo@ispsoft.de)
Date:07/01/1999 02:34:35 AM
List:com.mysql.lists.perl

David Wartell wrote:

t/00base............install_driver(mSQL) failed: Can't load '../blib/arch/auto/DBD/mSQL/mSQL.o' for module DBD::mSQL: can't resolve undefined symbols: Inappropriate file type or format at /usr/libdata/perl5/i386-bsdos/DynaLoader.pm line 168.

As posted in this list 5 or 6 times in the last two weeks, check for something like

LIBS="-L/usr/local/Hughes/lib/libmsql.a -lmsql -lm"

in lib/DBD/mSQL/Install/Config.pm and change it to

LIBS="-L/usr/local/Hughes/lib -lmsql -lm"

Then do a

perl Makefile.PL make make test

If possible, please verify with

perl -d Makefile.PL --config

why DBD::mSQL::Install::Initialize creates this wrong setup. I cannot reproduce the problem and am waiting since weeks for someone who tells me the reason. :-(

Bye,

Jochen