[MacPorts] #49419: libopenraw: Undefined boost symbols (was: configure error in OS X 10.11.1 El Capitan)

MacPorts noreply at macports.org
Sat Oct 24 09:32:10 PDT 2015


#49419: libopenraw: Undefined boost symbols
-------------------------+--------------------------------
  Reporter:  peter@…     |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:  invalid     |   Keywords:
      Port:  libopenraw  |
-------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * cc: ryandesign@…, devans@… (added)
 * resolution:   => invalid


Comment:

 The actual error message is:

 {{{
 ld: warning: ignoring file /usr/local/lib/libboost_unit_test_framework-
 mt.a, file was built for archive which is not the architecture being
 linked (x86_64): /usr/local/lib/libboost_unit_test_framework-mt.a
 Undefined symbols for architecture x86_64:
 "boost::test_tools::tt_detail::report_assertion(boost::test_tools::assertion_result
 const&, boost::unit_test::lazy_ostream const&,
 boost::unit_test::basic_cstring<char const>, unsigned long,
 boost::test_tools::tt_detail::tool_level,
 boost::test_tools::tt_detail::check_type, unsigned long, ...)", referenced
 from:
       _main in conftest.o
 "boost::unit_test::unit_test_log_t::set_checkpoint(boost::unit_test::basic_cstring<char
 const>, unsigned long, boost::unit_test::basic_cstring<char const>)",
 referenced from:
       _main in conftest.o
   "vtable for boost::unit_test::unit_test_log_t", referenced from:
 boost::unit_test::singleton<boost::unit_test::unit_test_log_t>::instance()
 in conftest.o
 }}}

 This means you have a copy of boost installed in the prefix /usr/local,
 and it has interfered with the MacPorts build of libopenraw. We do not
 support having software installed in prefix /usr/local while using
 MacPorts, because of the likelihood of this kind of problem; see
 wiki:FAQ#usrlocal. Please remove what you have installed in prefix
 /usr/local.

-- 
Ticket URL: <https://trac.macports.org/ticket/49419#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list