Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Got this error, 'Can not load PostreSQL client library', but why? 2 years 1 month ago #17331

  • Felipe Eduardo Ortiz López
  • Felipe Eduardo Ortiz López's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • PASCAL programmers do it recursively...
  • Posts: 9
  • Thank you received: 0
Hi, there!! (general Kenobi...). I'm trying to remember how PASCAL programming is, I used to work on Delphi Sidney, so CodeTyphon was my poison of choice. Untl I got this error an it's driving me mad...

Yesterday copied all DLL's to my project folder, pointed the library path to the original, the copies an still having this problem.


Can anyone help me with this? Whose god I have to invoke to solve this?
____________________________________
Felipe Eduardo Ortiz López.
"A programmer is a biological machine that transforms coffe into code lines."
Attachments:

Please Log in or Create an account to join the conversation.

Got this error, 'Can not load PostreSQL client library', but why? 2 years 1 month ago #17332

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1105
  • Thank you received: 161
Check if ALL needed PostreSQL *.dlls is in your dll folder.
Which PostreSQL version ?
CT version ?
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Got this error, 'Can not load PostreSQL client library', but why? 2 years 1 month ago #17333

  • Felipe Eduardo Ortiz López
  • Felipe Eduardo Ortiz López's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • PASCAL programmers do it recursively...
  • Posts: 9
  • Thank you received: 0
PostgreSQL 14, CT on the image.

Yes, all DLL's needed were in the LIB folder, changed to the PostgreSQL instalation folder...
____________________________________
Felipe Eduardo Ortiz López.
"A programmer is a biological machine that transforms coffe into code lines."

Please Log in or Create an account to join the conversation.

Got this error, 'Can not load PostreSQL client library', but why? 2 years 1 month ago #17336

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1105
  • Thank you received: 161
The problem is than your PC DO NOT has in the "System PATH" the PostgreSQL 14  /bin/ folder.
PostgreSQL /bin/ folder has ALL *.dll PostgreSQL needed.

libpq.dll to load on MS Windows 64bit OS need and
libcrypto-1_1-x64.dll
libintl-9.dll
libssl-1_1-x64.dll

Libraries.

So if you don't add to your PC  "System PATH" the PostgreSQL /bin/ folder
you can try:

a) Copy Libraries from PostgreSQL /bin/ folder
libpq.dll
libcrypto-1_1-x64.dll
libintl-9.dll
libssl-1_1-x64.dll
to your Project Folder and to your TyphonIDE "C:\codetyphon\typhon\bin64" Folder.

b) Start PostgreSQL Server

c) Build your project
In Params property of PQConnection1 (TPQConnection), if PostgreSQL Server NOT use default port : 5432
"port = XXXX".

In SQL property of  SQLQuery1 (TSQLQuery) we add  
SELECT * FROM "public"."demo2"; 
for our database....

 



 




 



PostgreSQL 14 on this test Run from our UltraWebServer (UWS).
We build a demo database with UWS

 






 
PilotLogic Core Programmer
Attachments:
The following user(s) said Thank You: Felipe Eduardo Ortiz López

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Got this error, 'Can not load PostreSQL client library', but why? 2 years 1 month ago #17337

  • Felipe Eduardo Ortiz López
  • Felipe Eduardo Ortiz López's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • PASCAL programmers do it recursively...
  • Posts: 9
  • Thank you received: 0
More specific, impossible. Thanks!!!
____________________________________
Felipe Eduardo Ortiz López.
"A programmer is a biological machine that transforms coffe into code lines."

Please Log in or Create an account to join the conversation.

  • Page:
  • 1