[MacPorts] #21444: boost with +python26 links against wrong python on Snow Leopard
MacPorts
noreply at macports.org
Tue Oct 6 03:27:59 PDT 2009
#21444: boost with +python26 links against wrong python on Snow Leopard
---------------------------------+------------------------------------------
Reporter: stromnov@… | Owner: nox@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Resolution: worksforme | Keywords:
Port: boost |
---------------------------------+------------------------------------------
Comment(by stromnov@…):
Replying to [comment:21 dbsgeo@…]:
> instead of this (which I think is failing unpredictably, for reasons I
wish I understood more)
> L"/opt/local/Library/Frameworks....." -lpython2.6
This is debug output (via -v flag to ld), when linking libboost_python-
mt.dylib:
{{{
[snip]
@(#)PROGRAM:ld PROJECT:ld64-95.2.12
Library search paths:
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config
/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64
/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64
/usr/lib/i686-apple-darwin10/4.2.1
/usr/lib/gcc/i686-apple-darwin10/4.2.1
/usr/lib/gcc/i686-apple-darwin10/4.2.1
/usr/lib/i686-apple-darwin10/4.2.1
/usr/lib
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
}}}
But libpython2.6.dylib exist only at /opt/local/lib
{{{
stromnov at stromnov:/$ find /opt/local -name 'libpython*'
/opt/local/lib/libpython2.6.dylib
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config/libpython2.6.a
}}}
So, ld takes libpython2.6.dylib from /usr/lib.
--
Ticket URL: <http://trac.macports.org/ticket/21444#comment:27>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list