boostorg / boostorg/python

boost numpy3 not compiling on OSX Yosemite using homebrew.

Open
#168 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
537
Forks
223
Avg merge
11h 22m
Merged PRs (30d)
2

Description

I get the following runtime error:
Symbol not found: _PyClass_Type
Referenced from: /usr/local/opt/boost-python/lib/libboost_python-mt.dylib
Expected in: flat namespace
in /usr/local/opt/boost-python/lib/libboost_python-mt.dylib

built on mac with brew:
brew install boost --c++11
brew install boost-python --with-python3 --c++11

This is very similar to issue #96, but my problem seems to be that the boost_numpy3 libraries are not being built.
In /usr/local/Cellar/boost-python/1.65.1/lib there are the numpy libraries but not the numpy3 libraries.

libboost_numpy-mt.a
libboost_python-mt.a
libboost_python3-mt.a
libboost_numpy-mt.dylib
libboost_python-mt.dylib
libboost_python3-mt.dylib
libboost_numpy.a
libboost_python.a
libboost_python3.a
libboost_numpy.dylib
libboost_python.dylib
libboost_python3.dylib

It looked to me like this issue should have been merged in with the 1.65 release, but maybe I'm missing something.

Thanks for the help

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.