[MacPorts] #20335: boost 1.39.0_2 with +python25 links against wrong python
MacPorts
noreply at macports.org
Thu Jul 16 05:20:43 PDT 2009
#20335: boost 1.39.0_2 with +python25 links against wrong python
-------------------------------+--------------------------------------------
Reporter: max@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: boost python | Port: boost
-------------------------------+--------------------------------------------
Building boost with python2.5 support and using it's python extension
capabilities results
in a crash with the error message
{{{
Fatal Python error: Interpreter not initialized (version mismatch?)
}}}
This is caused by boost linking against the system python framework
instead of
MacPort's python25
{{{
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.5/Python
(compatibility version 2.5.0, current version 2.5.1)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.4)
}}}
--
Ticket URL: <http://trac.macports.org/ticket/20335>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list