[fpc-pascal]mysql on windows
kanzelsberger at rekt.umb.sk
Thu May 31 11:32:00 CEST 2001
I have the same problem, anyway DLL is not needed in compilation time...
compiler is looking for mysqlclient.lib or .aw? file...
regards, Pavel Kanzelsberger
From: Jeff Patterson [mailto:pars at nbnet.nb.ca]
Sent: Thursday, May 31, 2001 12:01 AM
To: fpc-pascal at deadlock.et.tudelft.nl
Subject: Re: [fpc-pascal]mysql on windows
----- Original Message -----
From: "Fernando Lozano" <fsl at centroin.com.br>
To: <michael.vancanneyt at freepascal.org>
Cc: <fpc-pascal at lists.freepascal.org>
Sent: Wednesday, May 30, 2001 6:02 PM
Subject: [fpc-pascal]mysql on windows
> I have the Windows version of MySQL installed but cannot link the
testdb.pp example suplied with fpc-1.0.4 for
> Windows. I tells it cannot find -lmysqlclient...
> My ppc396.cfg is points to the lib directory of my Mysql installation.
Using the debuging options from ppc386 and
> ldw I could find it is looking for libmysqlclient.a and not
mysqlclient.lib as suplied with mysql. I tried creating a copy
> using the name expected by the linker, and now it complains it cannot
find -lm. :-(
There is supposed to be a DLL called libmysql.dll that should probably be
copied from the MySQL installation to the Windows System directory. Oddly
though, not all distribution packages of MySQL for Windows has this DLL
included. I managed to get the DLL from an older distribution of MySQL and
it seems to work fine with the current version.
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal