Reputation: 103
I wrote and app with Qt for Windows and Linux and I am using some dll's from OpenSSL. I am testing my app on two windows 10 machines and on one it works perfectly fine but on the other I get an error the app can't find libeay32.dll
.
The app that works is loading libeay32.dll
and ssleay32.dll
but I don't know from where it is getting them. I uninstalled OpenSSL 64 and OpenSSL 32. And I renamed libeay32.dll
and ssleay32.dll
to _libeay32.dll
and _ssleay32.dll
in Git\mingw64\bin
, Qt\Tools\QtCreator\bin
, Windows\System32
, and Windows\SysWOW64
.
The app still works but I have no idea why. Where else could OpenSSL store the dll files if they don't appear with dir /s *libeay32/dll
? or how can I find out from where the app is loading the dlls?
Upvotes: 0
Views: 6150
Reputation: 504
Try to use the Dependency Walker utility. It can to locate the all dll dependencies of your application.
Upvotes: 1