ZeosDBO works with Postgresql with a version higher than 9 ???
I've tried it with version 12.1 and it doesn't work with Lazarus v2.06, the error message it gives me is:
Client-Library libpq.dll found but could not be loaded.
Check compile-target and library compatibility!
thank
connecting with postgresql 12.1
-
- Platinum Boarder
- Posts: 1999
- Joined: 17.01.2011, 14:17
Re: connecting with postgresql 12.1
Hello and welcome to the forums
Zeos will connect to all versions of PostgreSQL. PostgreSQL 12 only gets delivered as a 64 Bits application. You have two options:
- change your Lazarus project to be a 64 bit application.
- get a 32 bit client library. A 32 bit client library gets distributed with pgadmin 4.
Best regards,
Jan
Zeos will connect to all versions of PostgreSQL. PostgreSQL 12 only gets delivered as a 64 Bits application. You have two options:
- change your Lazarus project to be a 64 bit application.
- get a 32 bit client library. A 32 bit client library gets distributed with pgadmin 4.
Best regards,
Jan
Re: connecting with postgresql 12.1
After continuing to test, I got it to work by copying the following dll to client, but from version 12.1
libcrypto-1_1-x64.dll
libiconv-2.dll
libintl-8.dll
libpq.dll
libssl-1_1-x64.dll
Of course I use the 64 bit version. from Lazaruz, now everything works ok
libcrypto-1_1-x64.dll
libiconv-2.dll
libintl-8.dll
libpq.dll
libssl-1_1-x64.dll
Of course I use the 64 bit version. from Lazaruz, now everything works ok