Library libpg-12.dll could not be loaded.

ftn's profile image ftn posted 4 years ago in General Permalink

zero installing HeidiSQL 10.3.0.5893_setup.exe make connection to postgreSQL Description Description

what could be the problem?

ansgar's profile image ansgar posted 4 years ago Permalink

What does that cyrillic message roughly say in english?

ftn's profile image ftn posted 4 years ago Permalink

The specified module was not found

ansgar's profile image ansgar posted 4 years ago Permalink

I would watch out for these dlls in the directory where your heidisql.exe is located. Normally C:\Program Files\HeidiSQL\

ftn's profile image ftn posted 4 years ago Permalink

C:\Program Files\HeidiSQL

22.02.2020 22:17 <DIR> . 22.02.2020 22:17 <DIR> .. 02.11.2017 11:51 18 330 gpl.txt 22.02.2020 22:16 9 232 183 heidisql.exe 03.02.2020 20:57 2 702 336 libcrypto-1_1-x64.dll 03.02.2020 20:57 1 690 490 libiconv-2.dll 03.02.2020 20:57 685 747 libintl-8.dll 04.02.2020 19:21 1 074 432 libmariadb.dll 23.07.2019 17:43 4 879 360 libmysql-6.1.dll 09.01.2018 21:04 4 747 776 libmysql.dll 03.02.2020 20:57 284 160 libpq-10.dll 03.02.2020 20:57 293 888 libpq-12.dll 03.02.2020 20:57 642 560 libssl-1_1-x64.dll 03.02.2020 20:57 1 888 license.txt 21.02.2020 00:48 678 312 plink.exe 21.02.2020 00:47 <DIR> plugins 24.12.2019 14:32 1 899 008 sqlite3.dll 21.02.2020 00:47 18 074 unins000.dat 21.02.2020 00:46 2 678 023 unins000.exe

ftn's profile image ftn posted 4 years ago Permalink
C:\Program Files\HeidiSQL

22.02.2020  22:17    <DIR>          .
22.02.2020  22:17    <DIR>          ..
02.11.2017  11:51            18 330 gpl.txt
22.02.2020  22:16         9 232 183 heidisql.exe
03.02.2020  20:57         2 702 336 libcrypto-1_1-x64.dll
03.02.2020  20:57         1 690 490 libiconv-2.dll
03.02.2020  20:57           685 747 libintl-8.dll
04.02.2020  19:21         1 074 432 libmariadb.dll
23.07.2019  17:43         4 879 360 libmysql-6.1.dll
09.01.2018  21:04         4 747 776 libmysql.dll
03.02.2020  20:57           284 160 libpq-10.dll
03.02.2020  20:57           293 888 libpq-12.dll
03.02.2020  20:57           642 560 libssl-1_1-x64.dll
03.02.2020  20:57             1 888 license.txt
21.02.2020  00:48           678 312 plink.exe
21.02.2020  00:47    <DIR>          plugins
24.12.2019  14:32         1 899 008 sqlite3.dll
21.02.2020  00:47            18 074 unins000.dat
21.02.2020  00:46         2 678 023 unins000.exe
ftn's profile image ftn posted 4 years ago Permalink

I reinstalled the program, updated to HeidiSQL 10.3.0.5895 64 Bit, the problem remains. how can this be fixed?

ftn's profile image ftn posted 4 years ago Permalink

this problem was due to the lack of a Visual C++ Redistributable Package

ansgar's profile image ansgar posted 4 years ago Permalink

You have all required dlls in C:\Program Files\HeidiSQL\ . Are you sure you are starting heidisql.exe from there?

Probably a Windows privilege issue, which you can test when running heidisql.exe as administrator.

Running it from the installer in 64bit mode works here:

Description

ansgar's profile image ansgar posted 4 years ago Permalink

Oh my reply came a few seconds after yours.

Glad you fixed it.

I already have a hint to that VC runtime in the code, but that only shows up if libpq is somehow incompatible, not if it has a dependency error. I should show the message in all error cases.

Please login to leave a reply, or register at first.