Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicate symbol 'boost::phoenix::placeholders::uarg1' #174

Open
ofloveandhate opened this issue Apr 26, 2023 · 0 comments
Open

duplicate symbol 'boost::phoenix::placeholders::uarg1' #174

ofloveandhate opened this issue Apr 26, 2023 · 0 comments

Comments

@ofloveandhate
Copy link
Contributor

Compiling with Boost 1.81 yields duplicate symbols at link time:

duplicate symbol 'boost::phoenix::placeholders::uarg9' in:
    src/.libs/_pybertini_la-parser_export.o
    src/.libs/_pybertini_la-bertini_python.o
duplicate symbol 'boost::phoenix::placeholders::uarg8' in:
    src/.libs/_pybertini_la-parser_export.o
    src/.libs/_pybertini_la-bertini_python.o
duplicate symbol 'boost::phoenix::placeholders::uarg7' in:
    src/.libs/_pybertini_la-parser_export.o
    src/.libs/_pybertini_la-bertini_python.o
duplicate symbol 'boost::phoenix::placeholders::uarg6' in:
    src/.libs/_pybertini_la-parser_export.o
    src/.libs/_pybertini_la-bertini_python.o
duplicate symbol 'boost::phoenix::placeholders::uarg5' in:
    src/.libs/_pybertini_la-parser_export.o
    src/.libs/_pybertini_la-bertini_python.o
duplicate symbol 'boost::phoenix::placeholders::uarg4' in:
    src/.libs/_pybertini_la-parser_export.o
    src/.libs/_pybertini_la-bertini_python.o
duplicate symbol 'boost::phoenix::placeholders::uarg3' in:
    src/.libs/_pybertini_la-parser_export.o
    src/.libs/_pybertini_la-bertini_python.o
duplicate symbol 'boost::phoenix::placeholders::uarg2' in:
    src/.libs/_pybertini_la-parser_export.o
    src/.libs/_pybertini_la-bertini_python.o
duplicate symbol 'boost::phoenix::placeholders::uarg1' in:
    src/.libs/_pybertini_la-parser_export.o
    src/.libs/_pybertini_la-bertini_python.o
duplicate symbol 'boost::phoenix::placeholders::uarg10' in:
    src/.libs/_pybertini_la-parser_export.o
    src/.libs/_pybertini_la-bertini_python.o
ld: 10 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This is a bug in this version of Boost, which I expect to be fixed in 1.82 or 1.83. For now, when configuring for building the Python bindings, I invoked as

./configure --with-eigen=/opt/homebrew/Cellar/eigen/3.4.0_1/ CPPFLAGS=-DBOOST_PHOENIX_STL_TUPLE_H_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant