Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
0 votes

Hi, I'm currently trying to install Cadabra on Mac OS X 10.10.5 from source. But once I arrive at the make step, the following messages show:

Scanning dependencies of target cadabra2python
[ 0%] Building CXX object core/CMakeFiles/cadabra2python.dir/cadabra2python.cc.o
[ 1%] Building CXX object core/CMakeFiles/cadabra2python.dir/CdbPython.cc.o
[ 1%] Linking CXX executable cadabra2python
Undefined symbols for architecture x8664:
"boost::re
detail::perlmatcher >, boost::regextraits<char, boost::cppregextraits > >::constructinit(boost::basicregex<char, boost::regextraits<char, boost::cppregextraits > > const&, boost::regexconstants::matchflags)", referenced from:
boost::redetail::perlmatcher >, boost::regextraits<char, boost::cppregextraits > >::perlmatcher(char const*, char const*, boost::matchresults > >&, boost::basicregex<char, boost::regextraits<char, boost::cppregextraits > > const&, boost::regexconstants::matchflags, char const) in CdbPython.cc.o
"boost::redetail::getmemblock()", referenced from:
boost::re
detail::perlmatcher<std::1::wrapiter, std::1::allocator<boost::sub_match<std::1::wrapiter > >, boost::regextraits<char, boost::cppregextraits > >::matchimp() in CdbPython.cc.o
boost::re
detail::perl_matcher<std::
1::wrap_iter, std::1::allocator<boost::submatch<std::1::wrapiter > >, boost::regextraits<char, boost::cppregextraits > >::matchallstates() in CdbPython.cc.o
boost::re
detail::perlmatcher<std::1::wrapiter, std::1::allocator<boost::sub_match<std::1::wrapiter > >, boost::regextraits<char, boost::cppregextraits > >::matchstartmark() in CdbPython.cc.o
boost::re
detail::perl_matcher<std::
1::wrap_iter, std::1::allocator<boost::submatch<std::1::wrapiter > >, boost::regextraits<char, boost::cppregextraits > >::matchalt() in CdbPython.cc.o
boost::redetail::perlmatcher<std::1::wrapiter, std::1::allocator<boost::sub_match<std::1::wrapiter > >, boost::regextraits<char, boost::cppregextraits > >::matchrep() in CdbPython.cc.o
boost::re
detail::perl_matcher<std::
1::wrap_iter, std::1::allocator<boost::sub
match<std::1::wrapiter > >, boost::regextraits<char, boost::cppregextraits > >::matchcharrepeat() in CdbPython.cc.o
boost::redetail::perlmatcher<std::1::wrapiter, std::1::allocator<boost::sub_match<std::1::wrapiter > >, boost::regextraits<char, boost::cppregextraits > >::matchsetrepeat() in CdbPython.cc.o
...
"boost::redetail::putmemblock(void*)", referenced from:
boost::re
detail::perl_matcher<std::
1::wrap_iter, std::1::allocator<boost::sub
match<std::1::wrapiter > >, boost::regextraits<char, boost::cppregextraits > >::matchimp() in CdbPython.cc.o
boost::re
detail::perlmatcher<std::1::wrapiter, std::1::allocator<boost::sub_match<std::1::wrapiter > >, boost::regextraits<char, boost::cppregextraits > >::unwindextrablock(bool) in CdbPython.cc.o
boost::redetail::perlmatcher<std::
1::wrap_iter, std::1::allocator<boost::submatch<std::1::wrapiter > >, boost::regextraits<char, boost::cppregextraits > >::findimp() in CdbPython.cc.o
boost::redetail::perlmatcher >, boost::regextraits<char, boost::cppregextraits > >::matchimp() in CdbPython.cc.o
boost::redetail::perlmatcher >, boost::regextraits<char, boost::cppregextraits > >::unwindextrablock(bool) in CdbPython.cc.o
"boost::re
detail::verifyoptions(unsigned int, boost::regexconstants::matchflags)", referenced from:
boost::redetail::perlmatcher<std::1::wrapiter, std::1::allocator<boost::sub_match<std::1::wrapiter > >, boost::regextraits<char, boost::cppregextraits > >::matchimp() in CdbPython.cc.o
boost::re
detail::perl_matcher<std::
1::wrap_iter, std::1::allocator<boost::sub
match<std::1::wrapiter > >, boost::regextraits<char, boost::cppregextraits > >::findimp() in CdbPython.cc.o
boost::re
detail::perlmatcher >, boost::regextraits<char, boost::cppregextraits > >::matchimp() in CdbPython.cc.o
"boost::re
detail::raiseruntimeerror(std::runtimeerror const&)", referenced from:
void boost::re
detail::raiseerror<boost::regextraitswrapper<boost::regextraits<char, boost::cppregextraits > > >(boost::regextraitswrapper<boost::regextraits<char, boost::cppregextraits > > const&, boost::regexconstants::errortype) in CdbPython.cc.o
"boost::re
detail::getdefaulterrorstring(boost::regexconstants::errortype)", referenced from:
boost::re
detail::cppregextraitsimplementation::errorstring(boost::regexconstants::errortype) const in CdbPython.cc.o
"boost::redetail::cppregextraitsimplementation::transform_primary(char const
, char const) const", referenced from:
std::1::wrapiter boost::redetail::reissetmember<std::1::wrapiter, char, boost::regextraits<char, boost::cppregextraits >, unsigned int>(std::1::wrapiter, std::1::wrapiter, boost::redetail::resetlong const
, boost::redetail::regexdata<char, boost::regextraits<char, boost::cppregextraits > > const&, bool) in CdbPython.cc.o
char const* boost::re
detail::reissetmember >, unsigned int>(char const*, char const*, boost::redetail::resetlong const*, boost::redetail::regexdata<char, boost::regextraits<char, boost::cppregextraits > > const&, bool) in CdbPython.cc.o
"boost::re
detail::cppregextraitsimplementation::transform(char const*, char const*) const", referenced from:
std::1::wrap
iter boost::redetail::reissetmember<std::1::wrapiter, char, boost::regextraits<char, boost::cppregextraits >, unsigned int>(std::1::wrapiter, std::1::wrapiter, boost::redetail::resetlong const*, boost::redetail::regexdata<char, boost::regextraits<char, boost::cppregextraits > > const&, bool) in CdbPython.cc.o
char const* boost::redetail::reissetmember >, unsigned int>(char const*, char const*, boost::redetail::resetlong const*, boost::redetail::regexdata<char, boost::regextraits<char, boost::cppregextraits > > const&, bool) in CdbPython.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [core/cadabra2python] Error 1
make[1]: *** [core/CMakeFiles/cadabra2python.dir/all] Error 2
make: *** [all] Error 2

Thank you already for any help!

asked in Installation trouble by

1 Answer

0 votes

Sorry for the wait. This seems to be an issue with your HomeBrew installation. First run brew doctor and email me the output (privately at info@cadabra.science).

answered by (50.6k points)
...