Ticket #21444 (closed defect: fixed)
boost with +python26 links against wrong python on Snow Leopard
Description
---> Installing boost @1.40.0_1+python26 ---> Activating boost @1.40.0_1+python26 stromnov@localhost:~$ otool -L /opt/local/lib/libboost_python-mt.dylib /opt/local/lib/libboost_python-mt.dylib: /opt/local/lib/libboost_python-mt.dylib (compatibility version 0.0.0, current version 0.0.0) /System/Library/Frameworks/Python.framework/Versions/2.6/Python (compatibility version 2.6.0, current version 2.6.1) /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)
so all python bindings, that depends on boost_python, crashing on start:
stromnov@localhost:~$ python2.6 Python 2.6.2 (r262:71600, Sep 11 2009, 12:30:14) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pyopencl Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap
this problem similar to #17975 and #17998
currently it can be relinked by hand:
sudo install_name_tool -change /System/Library/Frameworks/Python.framework/Versions/2.6/Python /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python /opt/local/lib/libboost_python-mt.dylib
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


