Boost logo

Boost Users :

Subject: Re: [Boost-users] installing boost getting error "ld: symbol(s) not found for architecture x86_64" on OSX 10.9.2
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-04-01 19:24:34


AMDG

On 04/01/2014 03:35 PM, Corentin Hamel wrote:
> 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.
>

It's failing for the same reason that linking is
failing later. double initialization is corrupting
the python module and preventing the flags from
being passed to the compiler.

>
> 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
>

Both ~/user-config.jam and ./project-config.jam
are trying to set up python. Just delete the
using python ; line from project-config.jam
and you should be good. (This is a bug in the
bootstrap script, which I will fix.)

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net