Recent

Author Topic: Can not load the PostgreSQL client library "libpq.dll" [SOLVED]  (Read 27953 times)

Gebony

  • New Member
  • *
  • Posts: 18
add this path "C:\Program Files\PostgreSQL\11\bin"
to the path in environment variables.

young_nandy

  • New Member
  • *
  • Posts: 41
I have found a solution for this.

download posgresql x32 binaries. then extract and enter the bin folder. take these 4 files:
- libcrypto-1_1.dll
- libiconv-2.dll
- libpq.dll
- libssl-1_1.dll

then copy the 4 files into the application folder

the full version consists of the following files

libcrypto-1_1.dll
libiconv-2.dll
libintl-8.dll
libpq.dll
libssl-1_1.dll
zlib1.dll

« Last Edit: May 16, 2020, 01:09:23 am by young_nandy »

EddeVries

  • Newbie
  • Posts: 1
Re: Can not load the PostgreSQL client library "libpq.dll" [SOLVED]
« Reply #17 on: September 09, 2020, 06:50:50 pm »
To avoid a lot of guessing:
I installed pgAdmin 4 (in my case the Windows 64-bit version) and checked which dll's this program uses (see C:\Program Files\pgAdmin 4\v4\runtime).
In my case only 4 (not including the Qt- and Python-stuff):
libcrypto-1_1-x64.dll
libpq.dll
libssl-1_1-x64.dll
zlib.dll

I copied these to my application directory and could connect without errors!
I assume the same can be done with the Windows 32-bit version.

 

TinyPortal © 2005-2018