How to fix libeay32.dll was not found error

Viewed 136944

I want to run some url, i used curl in windows environment for it.i downloaded curl executable from http://curl.haxx.se/dlwiz/?type=bin&os=Win64 and saved curl.exe in C drive than i just open the command prompt and type: C:\curl http://google.com but it is giving me error: libeay32.dll was not found.

though i have this dll file in archive, How can i fix this problem

7 Answers

I've encountered this kind of problem before. I was using the Windows x64 operating system, so I was getting an error in openssl. Later I realized that the path to the OpenSSL installation file was "C: \ OpenSSL win32". Finally, I deleted the OpenSSL program and installed it to "C: \ Program Files (x86)" and used it smoothly.

Please check if the dll in application is of the same version as that in the sys32 or wow64 folder depending on your version of windows.

You can check that from the filesize of the dlls.

Eg: I faced this issue because my libeay32.dll and ssleay32.dll file in system32 had a different dll than my libeay32.dll and ssleay32.dll file in openssl application.

I copied the one in sys32 into openssl and everything worked well.

Related