
Thanks for your answer. The problem is if I don't specify include="/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/"*/ I get the following error: /boost/python/detail/wrap_python.hpp:50:11: fatal error: 'pyconfig.h' file not found # include <pyconfig.h> ^ 1 error generated. Even if using ./b2 --debug-configuration, I can see the python include path well set notice: [python-cfg] interpreter command: "/Library/Frameworks/Python.framework/Versions/2.7/bin/python" notice: [python-cfg] include path: "/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7" notice: [python-cfg] library path: "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config" "/Library/Frameworks/Python.framework/Versions/2.7/lib" And here is the full message output but debug configuration. I can't really see anything bad notice: found boost-build.jam at /usr/local/boost_1_55_0/boost-build.jam notice: loading Boost.Build from /usr/local/boost_1_55_0/tools/build/v2 notice: Searching '/etc' '/Users/corentinhamel' '/usr/local/boost_1_55_0/tools/build/v2' '/usr/share/boost-build' '/usr/local/boost_1_55_0/tools/build/v2/kernel' '/usr/local/boost_1_55_0/tools/build/v2/util' '/usr/local/boost_1_55_0/tools/build/v2/build' '/usr/local/boost_1_55_0/tools/build/v2/tools' '/usr/local/boost_1_55_0/tools/build/v2/contrib' '/usr/local/boost_1_55_0/tools/build/v2/.' for site-config configuration file 'site-config.jam'. notice: Loading site-config configuration file 'site-config.jam' from '/usr/local/boost_1_55_0/tools/build/v2'. notice: Searching '/Users/corentinhamel' '/usr/local/boost_1_55_0/tools/build/v2' '/usr/share/boost-build' '/usr/local/boost_1_55_0/tools/build/v2/kernel' '/usr/local/boost_1_55_0/tools/build/v2/util' '/usr/local/boost_1_55_0/tools/build/v2/build' '/usr/local/boost_1_55_0/tools/build/v2/tools' '/usr/local/boost_1_55_0/tools/build/v2/contrib' '/usr/local/boost_1_55_0/tools/build/v2/.' for user-config configuration file 'user-config.jam'. notice: Loading user-config configuration file 'user-config.jam' from '/Users/corentinhamel'. notice: [python-cfg] Configuring python... notice: [python-cfg] user-specified version: "2.7" notice: [python-cfg] user-specified cmd-or-prefix: "/Library/Frameworks/Python.framework/Versions/2.7/bin/python" notice: [python-cfg] Checking interpreter command "/Library/Frameworks/Python.framework/Versions/2.7/bin/python"... notice: [python-cfg] running command '/Library/Frameworks/Python.framework/Versions/2.7/bin/python -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1' notice: [python-cfg] ...requested configuration matched! notice: [python-cfg] Details of this Python configuration: notice: [python-cfg] interpreter command: "/Library/Frameworks/Python.framework/Versions/2.7/bin/python" notice: [python-cfg] include path: "/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7" notice: [python-cfg] library path: "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config" "/Library/Frameworks/Python.framework/Versions/2.7/lib" notice: [python-cfg] framework directory is "/Library/Frameworks/Python.framework" notice: Searching '.' for project-config configuration file 'project-config.jam'. notice: Loading project-config configuration file 'project-config.jam' from '.'. notice: OSX version on this machine is 10.9.2 notice: will use 'g++' for darwin, condition <toolset>darwin-4.2.1 notice: using strip for <toolset>darwin-4.2.1 at /usr/bin/strip notice: using archiver for <toolset>darwin-4.2.1 at /usr/bin/libtool notice: [python-cfg] Configuring python... notice: [python-cfg] user-specified version: "2.7" notice: [python-cfg] user-specified cmd-or-prefix: "/Library/Frameworks/Python.framework/Versions/2.7" notice: [python-cfg] Checking interpreter command "/Library/Frameworks/Python.framework/Versions/2.7/bin/python"... notice: [python-cfg] running command '/Library/Frameworks/Python.framework/Versions/2.7/bin/python -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1' notice: [python-cfg] ...requested configuration matched! notice: [python-cfg] Details of this Python configuration: notice: [python-cfg] interpreter command: "/Library/Frameworks/Python.framework/Versions/2.7/bin/python" notice: [python-cfg] include path: "/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7" notice: [python-cfg] library path: "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config" "/Library/Frameworks/Python.framework/Versions/2.7/lib" notice: [python-cfg] framework directory is "/Library/Frameworks/Python.framework" link.jam: No such file or directory notice: [zlib] Using pre-installed library notice: [zlib] Condition notice: iostreams: using prebuilt bzip2 Building the Boost C++ Libraries. Thanks Corentin Hamel Software Engineer Rocketboots Level 11, 189 Kent Street Sydney NSW 2000 ----- Original Message ----- From: "Steven Watanabe" <watanabesj@gmail.com> To: boost-users@lists.boost.org Sent: Wednesday, 2 April, 2014 4:31:54 AM Subject: Re: [Boost-users] installing boost getting error "ld: symbol(s) not found for architecture x86_64" on OSX 10.9.2 AMDG On 03/31/2014 11:21 PM, Corentin Hamel wrote: <snip> /*./bootstrap.sh --with-libraries=python toolset=darwin*/ /*./b2 include="/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/"*/ You shouldn't need to add the includes path explicitly if python is configured correctly. <blockquote> And I get the following error: /*link.jam: No such file or directory*/ /*Building the Boost C++ Libraries.*/ /*error: No best alternative for /python_for_extensions*/ /*next alternative: required properties: <python>2.7 <target-os>darwin*/ /*matched*/ /*next alternative: required properties: <python>2.7 <target-os>darwin*/ /*matched*/ You've probably initialized python more than once. </blockquote> Try ./b2 --debug-configuration to see what's happening. In Christ, Steven Watanabe _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users