Bug report #4370
Can not start QGIS
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Build/Install | ||
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 |
Description
Hello
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.
Related issues
History
#1 Updated by Tim Sutton about 13 years ago
- Target version changed from Version 1.7.1 to Version 1.7.2
#2 Updated by Giovanni Manghi almost 13 years ago
- Target version changed from Version 1.7.2 to Version 1.7.3
#3 Updated by Paolo Cavallini almost 13 years ago
- Category set to Build/Install
#4 Updated by Paolo Cavallini almost 13 years ago
- Status changed from Open to Feedback
Can the order be decided at the application level, or is it system-wide?
#5 Updated by Jürgen Fischer almost 13 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.
#6 Updated by Paolo Cavallini almost 13 years ago
- Resolution set to wontfix
- Status changed from Feedback to Closed
So I guess we cannot do much from QGIS side. Reopen if necessary.