[MacPorts] #21444: boost with +python26 links against wrong python on Snow Leopard
MacPorts
noreply at macports.org
Sun Oct 4 13:24:49 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:4 dbsgeo@…]:
> Boost tends to link to the first python in the users path,
> so this may be happening to users that install boost +python26
> before using python_select to change their default python over to the
macports py26.
Last statement in {{{python_select python26}}} execution routine is:
{{{
ln -snf /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python
\
/opt/local/Library/Frameworks/Python.framework/Python
}}}
Replying to [comment:21 dbsgeo@…]:
> could likely be fixed if bjam were patched to issue a linker command
like:
> '-F/opt/local/Library/Frameworks -framework Python'
Probably it's completely bad idea to link port against framework in
current
macports scheme (see http://trac.macports.org/ticket/21824#comment:4).
It is better to link against specific libraries via -L and -l args.
Currently I'm using system python26, macports python25 and macports
python26, so
I can't use python_select against one of them.
--
Ticket URL: <http://trac.macports.org/ticket/21444#comment:26>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list