Ticket #18894 (closed defect: wontfix)
Internal libboost dependency failure at reference time.
|Reported by:||trog24@…||Owned by:||macports-tickets@…|
|Keywords:||Cc:||mcalhoun@…, braden@…, raphael@…|
Description (last modified by mcalhoun@…) (diff)
The following error occurs when trying to link openvrml to libboost:
g++ -D_THREAD_SAFE -g -O2 -o .libs/browser browser.o -Wl,-bind_at_load -L/opt/local/lib ./.libs/libtest-openvrml.a /Users/frank/FirefoxDownloads/openvrml-0.17.12/src/libopenvrml/.libs/libopenvrml.dylib -L/opt/local/lib/firefox-184.108.40.206 /opt/local/lib/libjpeg.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz -lmozjs -lplds4 -lplc4 -lnspr4 -lboost_thread-mt -lboost_unit_test_framework-mt -lboost_filesystem-mt /usr/bin/ld: Undefined symbols: boost::system::get_system_category() boost::system::get_generic_category() collect2: ld returned 1 exit status make: *** [browser] Error 1 make: Leaving directory `/Users/frank/FirefoxDownloads/openvrml-0.17.12/tests' make: *** [check-am] Error 2 make: Leaving directory `/Users/frank/FirefoxDownloads/openvrml-0.17.12/tests'
The undefined symbol references get_system_category() and get_generic_category() are in libboost_filesystem-mt and the symbols are defined in libboost_system-mt and not in some unrelated library; yet, libboost_filesystem-mt cannot find libboost_system-mt to resolve the undefines, a library libboost_filesystem-mt is dependent on even though the libboost_system-mt is part of the same set without a supplied reference, ie:
make check LDFLAGS='-lboost_system-mt'
This particular dependency should have been resolved during the Boost build process. The above command is the work around until the problem is resolved.
comment:11 in reply to: ↑ 10 Changed 4 years ago by mcalhoun@…
- Status changed from new to closed
- Resolution set to wontfix