Bug report #4370
Can not start QGIS
|Affected QGIS version:||Regression?:||No|
|Operating System:||XP/Win7||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||wontfix|
|Crashes QGIS or corrupts data:||Copied to github as #:||14302|
I got a problem with a DLL (libeay32.dll) and the search order for DLLs.
A Program called "CrystalReport Viewer" installed a DLL with the Name "LIBEAY32.dll" into the Windows system directory.
QGIS is using a DLL with the same name, but from a different manufacturer.
So if I try to start QGIS, it searches for the "LIBEAY32.dll" in the Windows system directory. So QGIS finds the wrong DLL and can't start.
The question is:
Why QGIS doesn't search in its own installation directory first, and then try to find the missing DLL in the Windows system directory?
In my oppinion there is something wrong with the search-order.
#5 Updated by Jürgen Fischer over 9 years ago
Paolo Cavallini wrote:
Can the order be decided at the application level, or is it system-wide?
Not really. Windows searches the directory where the .exe is first, system32 second and then everything that is in PATH. So QGIS doesn't have a chance to prevent usage of the system32 version (unless we move all DLLs to a single spot).
Moving the incompatible LIBEAY32.DLL version from system32 to the "CrystalReports Viewer" directory would also help.