[fpc-pascal]Error compiling testdb.pp example (mysql)

James Mills prologic at daisy.ods.org
Sat Jun 14 15:49:46 CEST 2003

$ fpc testdb
Free Pascal Compiler version 1.0.6 [2002/08/10] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling testdb.pas
Assembling qtest
Linking testdb
testdb.o(.text+0xaa): In function `program_init':
: undefined reference to `mysql_connect'
testdb.pas(84,3) Error: Error while linking
Closing script ppas.sh

What have I done wrong here ? ...
Yes I have installed the appropiate libmysqlclient-dev (from debian).


- James Mills
Zero Defect Software Engineers Group - ZDSEG

More information about the fpc-pascal mailing list