Page 1 of 1

Zeos and Lazarus SSLEAY32.dll‏

Posted: 05.03.2009, 04:00
by macaruchi
Hi!
I installed Zeos for Lazarus in Windows but when I try to connect with Postgres I get this error:
The ordinal 180 could not be located in the dynamic link library SSLEAY32.dll‏

and after it tells me it cant find any libpq.

I have installed Openssl for windows to test but nothing happens and i get the error yet.

I tried to use this component with sqlite but when i try to connect lazarus close .

Any help ??

Posted: 05.03.2009, 07:40
by mse
Search for ssleay.dll on your system, you probably will be surprised how many versions you have, a file search on my HD returned 10 different instances. :-)
The Postgres client library (libpq.dll) must be linked with ssleay.dll in the Postgres package. A simple workaround is to copy bin\libpq.dll and bin\libeay32.dll to the directory of your program exe.

Martin