[QGIS-trac] Re: [Quantum GIS] #1518: python binding does not link with libpython

Quantum GIS qgis at qgis.org
Sat Aug 15 12:41:37 EDT 2009


#1518: python binding does not link with libpython
-------------------------------------+--------------------------------------
        Reporter:  fundawang         |         Owner:  nobody       
            Type:  patch             |        Status:  closed       
        Priority:  minor: annoyance  |     Milestone:  Version 1.0.3
       Component:  Build/Install     |       Version:  1.0.0        
      Resolution:  wontfix           |      Keywords:               
Platform_version:                    |      Platform:  All          
        Must_fix:  No                |   Status_info:  0            
-------------------------------------+--------------------------------------
Comment (by kyngchaos):

 Just a note from the OSX side.  Python modules on OSX shouldn't link the
 Python library directly, since they are loaded by Python, the Python
 library is expected to be available to modules.  Extra libraries directly
 used by the module DO need to be linked.

 Linking flags are taken care of in both python distutils and SIP: no
 libpython, but including -bundle -undefined dynamic_lookup flags (bundle
 is an OSX special loadable module type of library, dynamic_lookup finds
 the python library symbols at runtime).

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1518#comment:26>
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