Error DLL Connection FireDac with PostgreSQL

1

I'm having the DLL error not found when making a connection to PostgreSQL using the FireDAC component.

Error: [FireDAC] [Phys] [PG] -314. Can not load vendor library [C: \ EXE \ libpq.dll]. Hint: check it in the PATH or application EXE directories, and has x86 bitness.

The detail is that I have already copied the DLL to the application directory, also for testing I copied the dll to System32 and Syswow64, but the error persists.

I have the Microsoft C ++ package 2015 installed, as requested on the dock: link

Another test I performed was for the FireDAC component to try to make the connection, even in the Postgre drive component I pointed the VendorLib property to the DLL. But again, same error.

Does anyone have any other suggestions? Thank you in advance.

    
asked by anonymous 17.11.2016 / 18:52

1 answer

1

For everyone's sake, the problem has been solved. For PostgreSQL to work correctly it is necessary to copy the following DLLs to the application folder:

  • Libeay32.dll
  • SSLeay32.dll
  • Intl.dll
  • Libpq.dll

Copy these DLLs from the bin directory of the PostgreSQL installation.

    
05.12.2016 / 17:22