[MacPorts] #21444: boost with +python26 links against wrong python on Snow Leopard
MacPorts
noreply at macports.org
Tue Oct 6 07:14:28 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 nox@…):
In fact, Boost.Build is not doing anything wrong:
it passes the following flags to GCC:
-L/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config
-lpython2.6
And
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config/libpython2.6.a
links to ../../Python, which is
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python.
Taken from ld manpage:
{{{
-lx This option tells the linker to search for libx.dylib or
libx.a in the library search path. If string x is of the form y.o, then
that file is searched for in the
same places, but without prepending `lib' or appending
`.a' or `.dylib' to the filename.
}}}
Could you paste the output of `ls -l
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config`?
--
Ticket URL: <http://trac.macports.org/ticket/21444#comment:31>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list