[MacPorts] #21614: Python26 framework is not recognized by ld, causing erroneous link against system python

MacPorts noreply at macports.org
Sat Sep 26 13:23:27 PDT 2009


#21614: Python26 framework is not recognized by ld, causing erroneous link against
system python
---------------------------------+------------------------------------------
 Reporter:  vince@…              |       Owner:  blb@…           
     Type:  defect               |      Status:  new             
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  1.8.0           
 Keywords:  ld python framework  |        Port:  python26        
---------------------------------+------------------------------------------

Comment(by blb@…):

 Note that boost +python26 linked here fine, no python_select or anything:
 {{{
 $ otool -L /mp/lib/libboost_python-mt.dylib
 /mp/lib/libboost_python-mt.dylib:
         /mp/lib/libboost_python-mt.dylib (compatibility version 0.0.0,
 current version 0.0.0)
         /mp/Library/Frameworks/Python.framework/Versions/2.6/Python
 (compatibility version 2.6.0, current version 2.6.0)
         /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
 version 7.9.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 124.1.1)
 }}}
 Note also that not removing those links means that 2.6 magically becomes
 the default python framework and would most likely break things like
 python_select, or trying to install another python version.

-- 
Ticket URL: <http://trac.macports.org/ticket/21614#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list