I have only found these DLLs needed for a PostgreSQL client connection:<br><br>libpq.dll<br>libeay32.dll<br>libiconv-2.dll<br>libintl-2.dll<br>comerr32.dll<br>krb5_32.dll<br>ssleay32.dll<br><br>The client program only accesses libpq.dll directly, but libpq appears to use the other DLLs listed above.<br><br>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.<br><br>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.<br><br>But you still need libpq.dll and supporting DLLs above.<br><br>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.<br><br>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.<br><br>I'm glad to see you found the circular reference in your query component.<br><br>Be persistent and work it out.<br><br><b><i></i></b><blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><marc.weustink@cuperus.nl><marc.weustink@cuperus.nl>From: "Dave Coventry" <dgcoventry@gmail.com><br>To: "General mailing list" <lazarus@lazarus.freepascal.org><br>Date: Thu, 29 May 2008 17:26:20 +0200<br>Subject: Re: [Lazarus] Postgres Dlls not found<br><br> Maybe I'm missing a DLL. Here are the DLLs that came with
pgadmin3.<br><br>comerr32.dll<br>gssapi32.dll<br>iconv.dll<br>k5sprt32.dll<br>krb5_32.dll<br>libeay32.dll<br>libiconv2.dll<br>libintl3.dll<br>libpq.dll<br>libxml2.dll<br>libxslt.dll<br>msvcm80.dll<br>msvcp80.dll<br>msvcr71.dll<br>msvcr80.dll<br>pgaevent.dll<br>ssleay32.dll<br>zlib1.dll</marc.weustink@cuperus.nl></marc.weustink@cuperus.nl></blockquote>