[Lazarus] TEST SQLITE

Chris37 cyber.flam at orange.fr
Fri May 30 01:01:47 CEST 2008


I have only found these DLLs needed for a PostgreSQL client connection:

libpq.dll
libeay32.dll
libiconv-2.dll
libintl-2.dll
comerr32.dll
krb5_32.dll
ssleay32.dll

The client program only accesses libpq.dll directly, but libpq appears to use the other DLLs listed above.

There is no hard-coded path in libpq, I haven't seen anything such short-sightedness on the part of the PostgreSQL develpment team. They have done excellent work, and both PostgreSQL and libpq are documented quite well in html.

>From your other messages it appears you are still using Lazarus db components, which is fine. In this case the FPC/Lazarus team has already done the interfacing to libpq for you.

But you still need libpq.dll and supporting DLLs above.

Windows will search for a requested DLL first in the current folder, then folders in the search PATH. Nothing new here, and nothing special for libpq.

Also, for the record, installing a Verifone application called "PC Charge" can throw your PostgreSQL client because Verifone decided to name one of their DLLs libpq.dll and put in in the windows system folder (idiotic in this day) along with a slew of other DLLs to add to the mess.

I'm glad to see you found the circular reference in your query component.

Be persistent and work it out.

From: "Dave Coventry" <dgcoventry at gmail.com>
To: "General mailing list" <lazarus at lazarus.freepascal.org>
Date: Thu, 29 May 2008 17:26:20 +0200
Subject: Re: [Lazarus] Postgres Dlls not found

 Maybe I'm missing a DLL. Here are the DLLs that came with pgadmin3.

comerr32.dll
gssapi32.dll
iconv.dll
k5sprt32.dll
krb5_32.dll
libeay32.dll
libiconv2.dll
libintl3.dll
libpq.dll
libxml2.dll
libxslt.dll
msvcm80.dll
msvcp80.dll
msvcr71.dll
msvcr80.dll
pgaevent.dll
ssleay32.dll
zlib1.dll
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080529/4e3414e1/attachment-0007.html>


More information about the Lazarus mailing list