Zeos and Lazarus SSLEAY32.dll‏

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
macaruchi
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 21.12.2005, 15:17

Zeos and Lazarus SSLEAY32.dll‏

Post 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 ??
mse
Junior Boarder
Junior Boarder
Posts: 41
Joined: 17.07.2007, 06:30

Post 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
Post Reply