[QGIS-trac] Re: [Quantum GIS] #1950: Python binary choice on OS X (10.6) / Building bug

Quantum GIS qgis at qgis.org
Fri Sep 25 09:44:53 EDT 2009


#1950: Python binary choice on OS X (10.6) / Building bug
--------------------------------------------------------------+-------------
        Reporter:  vince                                      |         Owner:  nobody             
            Type:  bug                                        |        Status:  new                
        Priority:  critical: causes crash or data corruption  |     Milestone:                     
       Component:  Build/Install                              |       Version:  1.3.0              
      Resolution:                                             |      Keywords:  spatialite.c python
Platform_version:  10.6 (Snow Leopard)                        |      Platform:  OS X               
        Must_fix:  No                                         |   Status_info:  0                  
--------------------------------------------------------------+-------------
Comment (by vince):

 I got it, and you were right:

 {{{
 otool -L libqgispython.dylib
 libqgispython.dylib:
         @executable_path/lib/libqgispython.1.3.0.dylib (compatibility
 version 1.3.0, current version
         [...]
         /System/Library/Frameworks/Python.framework/Versions/2.6/Python
 (compatibility version 2.6.0, current version 2.6.1)
 }}}

 That is where it is wrong. If, with install_name_tool, I change that, it
 is fine (and it works now).

 So, question: how shall I instruct the build process to link to the
 alternate framework rather than the System one?

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1950#comment:9>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list