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

Quantum GIS qgis at qgis.org
Sun Aug 2 11:54:16 EDT 2009


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

 Replying to [comment:12 lutra]:
 > Replying to [comment:11 neteler]:
 > > Did you try to compile with LDFLAGS="-Wl,--as-needed -Wl,--no-
 undefined" on an e.g. Ubuntu box?
 >
 > Hi,
 >
 > yes, it compiles fine under Ubuntu 9.04

 And Debian unstable.  And the resulting library is already linked with
 python:

 {{{
 $ ldd /usr/lib/libqgispython.so|grep pyth
         libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0
 (0x00007f79d8fa3000)
 }}}

 Maybe this was fixed in PyQt4 or SIP - it would make sense to fix it
 there.

 I'm using SIP 4.8.1 and PyQt4 4.5.1.

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