(SOLVED) Postgres dll lazarus / 16-Databases ---------------------------------------------------------------------- xinyiman · 2016-04-10 15:49 Hello guys. I created a program that uses Zeoslib to access a postgres database. On the PC that installed the database (Linux) I have no problems and I connect. On Windows 8 instead I get the error: None of the dynamic libraries can be found or is not loadable: libpq.dll Rightly he says that lack the dll. The problem arises here, I do not find. Postgres on the site are not there. Where the drain? Thank you ---------------------------------------------------------------------- Mike.Cornflake · 2016-04-10 16:08 In Zeos Trunk, have a look in lib\postgresql.  I note the dll's are named differently per version, so I'm guessing you take the version you need and rename to just libpq.dll.   Or set the dll name directly in the Connection from memory. Update:  http://svn.code.sf.net/p/zeoslib/code-0/trunk/lib/postgresql/ ---------------------------------------------------------------------- xinyiman · 2016-04-10 16:39 Thank you. But my version is 9.3 and not exist in your list ---------------------------------------------------------------------- miab3 · 2016-04-10 16:44 http://forum.lazarus.freepascal.org/index.php/topic,31964.msg205610.ht ml#msg205610 I tried copy client libraries from PostgreSQL 9.5.1.1-32 zlib1.dll libeay32.dll libiconv-2.dll libintl-8.dll libpq.dll libxml2.dll libxslt.dll ssleay32.dll in the application directory (ZEOS 7.2.1-rc, LAZARUS 1.6-Win32) and connect to the server (9.3) without problems. I see that it is also used msvcr120.dll. Michal ---------------------------------------------------------------------- xinyiman · 2016-04-11 06:40 Thank you very much ---------------------------------------------------------------------- slivitin · 2016-08-02 12:46 Can I use x64bit version of Lazarus (how to see it?) with x32bit of libpq.dll? I have installed Lazarus x64 + pgAdmin 4 v1 (may be x64) but still get an error that say "libpq.dll wasn't found". I put path to libpq.dll (from pgAdmin directory) to the system "PATH" ---------------------------------------------------------------------- slivitin · 2016-08-02 13:27 Removed Lazarus x64 and installed Lazarus x32. Now pgConnection is working... ---------------------------------------------------------------------- miab3 · 2016-08-02 13:50 You can use (mixed) 32-bit or 64-bit client and server, but the application must use suitable for himself client libraries. You can even use different OS.