[MacPorts] #21444: boost with +python26 links against wrong python on Snow Leopard
MacPorts
noreply at macports.org
Sun Oct 4 09:24:03 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@…):
Interesting fact:
{{{
stromnov at stromnov:~$ cat test.c
#include <Python.h>
int main(const int argc, const char *argv[]) {
Py_Initialize();
Py_Finalize();
return 0;
}
stromnov at stromnov:~$ python2.6-config --includes ; python2.6-config --libs
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-ldl -lpython2.6
stromnov at stromnov:~$ gcc -dynamic `python2.6-config --includes` test.c
`python2.6-config --libs`
stromnov at stromnov:~$ otool -L a.out
a.out:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 124.1.1)
/System/Library/Frameworks/Python.framework/Versions/2.6/Python
(compatibility version 2.6.0, current version 2.6.1)
stromnov at stromnov:~$
}}}
JFYI: Fresh Snow Leopard installation + latest XCode + latest macports. No
customizations.
--
Ticket URL: <http://trac.macports.org/ticket/21444#comment:19>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list