[Osgeo4w-trac] [osgeo4w] #357: python 2.7.4 dll conflicts

OSGeo4W trac_osgeo4w at osgeo.org
Sat Apr 27 01:08:15 PDT 2013


#357: python 2.7.4 dll conflicts
-------------------+--------------------------------------------------------
Reporter:  maphew  |       Owner:  osgeo4w-dev@…              
    Type:  defect  |      Status:  new                        
Priority:  major   |   Component:  Package                    
 Version:          |    Keywords:  python                     
-------------------+--------------------------------------------------------

Comment(by jef):

 Replying to [comment:6 maphew]:
 > I'd really like to find a reliable way to strip the Windows system
 directory from the DLL search path, but after much reading and searching
 it does look as if this isn't possible. The only other alternative I've
 found* is to put move the .dll next to the .exe, in `apps\qgis\bin`, as
 opposed to the current solution of putting the .exe with the .dll in
 `bin`.

 That goes for all DLLs - not just for the python DLL.  Every DLL in bin
 (or PATH) can potentially be masked by a DLL in system32 (this also
 happenen with the openssl DLLs).  So we'd need to copy all DLLs to
 whereever .exes live (apps/qgis, apps/qgis-dev, grass...)

 Moving the {{{qgis.exe}}} into bin is a solution for that - and typing
 {{{qgis.bat}}} instead of {{{qgis}}} isn't such a huge burden to justify
 any significant work put into this - most people probably use the
 shortcuts anyway.

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/357#comment:7>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list