I used the unit I could find at the time - I have never seen "postgres3" before. If it won't lock me (too hard) into a certain postgres version (my original reason for not using mysql is the issues to get an app to support more than one version of the server), and at least most of my current code won't need to change, I would myself prefer something that uses external over something that uses linklib. At least it sounds like we're moving in the right direction (I also googled... wonder what you thought of to look for differently).
Good to know the mac postgres seems to still be active. A.J. On 6/3/07, Hess, Philip J <[EMAIL PROTECTED]> wrote:
Hi A.J., Googling around it appears as though I need libpq.a to link a client app against and then libpq.dll is only used at runtime. I'll download the full postgres installer this week and see if the liqpq.a file is included. Any reason why you're using postgres and not postgres3? Postgres3.pp uses "external" instead of "linklib" and doesn't require libc. I've also found a regular OS X package (.pkg) for postgres. Thanks. -Phil -----Original Message----- From: A.J. Venter [mailto:[EMAIL PROTECTED] Sent: Sun 6/3/2007 1:44 PM To: lazarus@miraclec.com Subject: Re: [lazarus] OutKafe 5.1.0 Released ! Hi all, Can anybody help us here ? I actually have it linking on one machine, and not on another but for the life of me I cannot figure out the difference between the two machines. Can we document this somewhere ? When developing programs using third-party linklibs through lazarus/fpc units - where do you actually PUT the dll's ? I am also trying to determine the minimum number of libfiles that need to be shipped WITH the program - the libpq.dll in the svn tree came from pgadminIII - as an experiment, but I am affraid that perhaps you need the full set of libs that are included in postgresql - or at least a few more of them... but which ones, and where to put them in order to get lazarus to build with the package installed, and the app to link on windows ? /me really hopes for some good advice here. A.J. > Hi A.J., > > I tried compiling the OutKafe win32 client: > > Import library not found for pq > Import library not found for c > > Same with trying to install outkafelibs. > > I see in FPC's postgres.pp that it includes: > > {$linklib pq} > {$linklib c} > > This probably accounts for it. > > I see that installer\outkafe includes libpq.dll but pointing to it with -Fl doesn't help any. And I don't have any file named libc.dll. -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
-- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives