[Lazarus] Lazarus & Databases under OSX

Joost van der Sluis joost at cnoc.nl
Tue Sep 2 10:26:45 CEST 2008

Op zondag 31-08-2008 om 20:31 uur [tijdzone +0200], schreef Giuseppe
Luigi Punzi Ruiz:
> Hi,
> I asked this on LAzarus Forums, but I will ask on this way too.
> I need to do some little projects using SQLite and Firebird
> (probably). I would like to run this applications on Windows&Mac.
> I tried to install ZeosDBO without success, getting the error:
> Users/glpunzi/desarrollo/Lazarus/ZEOSDBO-6.6.3-stable/src/plain/ZPlainLoader.pas(97,22) Fatal: Can't find unit libc used by ZPlainLoader 
> I tried to delete all references to libc, and compiled Ok, but then, I
> get an error rebuilding Lazarus.

libc is indeed only available on linux/i386. Maybe you could send a
bug-report to the ZEOS-people to ask if they can remove the
libc-references properly.

> I tried to install SQLDb package too, but still having problems, getting:
> /usr/local/share/lazarus/components/sqldb/registersqldb.pas(1,1) Fatal: Can't find unit dbf_prscore used by bufdataset_parser

That's because tDbf is not compiled by default on OS/X in fpc 2.2.0.
This is changed in fpc 2.2.2. 


More information about the Lazarus mailing list