Boost logo

Boost :

From: Oliver Gräser (oliver.graeser_at_[hidden])
Date: 2006-07-07 08:27:04


Hello,

I'm trying to build boost on my Macbook, which runs OSX 10.4.7 on
intel core duo with 2GB of ram. I downloaded boost_1_33_1.tar.gz,
untared the file, ran configure, sudo make, sudo make install.
Apparently, this installs some 1k + libraries, but not all - 6
libraries are not installed. If I re-run configure and make, it tries
to update only these libs, but failes again. I attach the full
output, however, the failure seems to originate from some undefined
symbols (what ever a symbol is...)

ld: Undefined symbols:
__Z20init_unit_test_suiteiPPc
/usr/bin/libtool: internal link edit command failed

All these symbols are called whatsoeverPPc, so I think it might be
caused by my intel CPU. Is there any workaround for this? I found the
same problem posted on another mailing list, but with no replies so
far. Can anyone help?

Thanks a lot

Oliver

---------------------terminal
output-----------------------------------------

./tools/build/jam_src/bin.macosxx86/bjam -sPYTHON_ROOT=/System/
Library/Frameworks/Python.framework/Versions/2.3 -sPYTHON_VERSION=2.3
--prefix=/usr/local --exec-prefix=/usr/local --libdir=/usr/local/lib
--includedir=/usr/local/include -sTOOLS=darwin install
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
...found 13486 targets...
...updating 12 targets...
darwin-Link-DyLib-action bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
libboost_prg_exec_monitor-d-1_33_1.dylib
ld: Undefined symbols:
__Z8cpp_mainiPPc
/usr/bin/libtool: internal link edit command failed

     DYLD_LIBRARY_PATH=bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true
     export DYLD_LIBRARY_PATH
     ld -dynamic -m -r -d -o "bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
libboost_prg_exec_monitor-d-1_33_1.lo" "bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
execution_monitor.o" "bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
cpp_main.o" \
     && \
     c++ -g -o "bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
libboost_prg_exec_monitor-d-1_33_1.dylib" "bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
libboost_prg_exec_monitor-d-1_33_1.lo" \
         \
            -dynamiclib -install_name "libboost_prg_exec_monitor-
d-1_33_1.dylib" \
     && \
     rm -f "bin/boost/libs/test/build/libboost_prg_exec_monitor.dylib/
darwin/debug/shared-linkable-true/libboost_prg_exec_monitor-d-1_33_1.lo"

...failed darwin-Link-DyLib-action bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/debug/shared-linkable-true/
libboost_prg_exec_monitor-d-1_33_1.dylib...
...skipped <@boost!lib>libboost_prg_exec_monitor-d-1_33_1.dylib for
lack of <@boost!libs!test!build/libboost_prg_exec_monitor.dylib/
darwin/debug/shared-linkable-true>libboost_prg_exec_monitor-
d-1_33_1.dylib...
darwin-Link-DyLib-action bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/
libboost_prg_exec_monitor-1_33_1.dylib
ld: Undefined symbols:
__Z8cpp_mainiPPc
/usr/bin/libtool: internal link edit command failed

     DYLD_LIBRARY_PATH=bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true
     export DYLD_LIBRARY_PATH
     ld -dynamic -m -r -d -o "bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/
libboost_prg_exec_monitor-1_33_1.lo" "bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/
execution_monitor.o" "bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/
cpp_main.o" \
     && \
     c++ -Wl,-x -o "bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/
libboost_prg_exec_monitor-1_33_1.dylib" "bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/
libboost_prg_exec_monitor-1_33_1.lo" \
         \
            -dynamiclib -install_name
"libboost_prg_exec_monitor-1_33_1.dylib" \
     && \
     rm -f "bin/boost/libs/test/build/libboost_prg_exec_monitor.dylib/
darwin/release/shared-linkable-true/libboost_prg_exec_monitor-1_33_1.lo"

...failed darwin-Link-DyLib-action bin/boost/libs/test/build/
libboost_prg_exec_monitor.dylib/darwin/release/shared-linkable-true/
libboost_prg_exec_monitor-1_33_1.dylib...
...skipped <@boost!lib>libboost_prg_exec_monitor-1_33_1.dylib for
lack of <@boost!libs!test!build/libboost_prg_exec_monitor.dylib/
darwin/release/shared-linkable-
true>libboost_prg_exec_monitor-1_33_1.dylib...
darwin-Link-DyLib-action bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
libboost_test_exec_monitor-d-1_33_1.dylib
ld: Undefined symbols:
__Z9test_mainiPPc
/usr/bin/libtool: internal link edit command failed

     DYLD_LIBRARY_PATH=bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true
     export DYLD_LIBRARY_PATH
     ld -dynamic -m -r -d -o "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
libboost_test_exec_monitor-d-1_33_1.lo" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
compiler_log_formatter.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
execution_monitor.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
framework.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
plain_report_formatter.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
progress_monitor.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
results_collector.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
results_reporter.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
test_main.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
test_tools.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
unit_test_log.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
unit_test_main.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
unit_test_monitor.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
unit_test_parameters.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
unit_test_suite.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
xml_log_formatter.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
xml_report_formatter.o" \
     && \
     c++ -g -o "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
libboost_test_exec_monitor-d-1_33_1.dylib" "bin/boost/libs/test/
build/libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-
true/libboost_test_exec_monitor-d-1_33_1.lo" \
         \
            -dynamiclib -install_name "libboost_test_exec_monitor-
d-1_33_1.dylib" \
     && \
     rm -f "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
libboost_test_exec_monitor-d-1_33_1.lo"

...failed darwin-Link-DyLib-action bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/debug/shared-linkable-true/
libboost_test_exec_monitor-d-1_33_1.dylib...
...skipped <@boost!lib>libboost_test_exec_monitor-d-1_33_1.dylib for
lack of <@boost!libs!test!build/libboost_test_exec_monitor.dylib/
darwin/debug/shared-linkable-true>libboost_test_exec_monitor-
d-1_33_1.dylib...
darwin-Link-DyLib-action bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
libboost_test_exec_monitor-1_33_1.dylib
ld: Undefined symbols:
__Z9test_mainiPPc
/usr/bin/libtool: internal link edit command failed

     DYLD_LIBRARY_PATH=bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true
     export DYLD_LIBRARY_PATH
     ld -dynamic -m -r -d -o "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
libboost_test_exec_monitor-1_33_1.lo" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
compiler_log_formatter.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
execution_monitor.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
framework.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
plain_report_formatter.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
progress_monitor.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
results_collector.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
results_reporter.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
test_main.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
test_tools.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
unit_test_log.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
unit_test_main.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
unit_test_monitor.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
unit_test_parameters.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
unit_test_suite.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
xml_log_formatter.o" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
xml_report_formatter.o" \
     && \
     c++ -Wl,-x -o "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
libboost_test_exec_monitor-1_33_1.dylib" "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
libboost_test_exec_monitor-1_33_1.lo" \
         \
            -dynamiclib -install_name
"libboost_test_exec_monitor-1_33_1.dylib" \
     && \
     rm -f "bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
libboost_test_exec_monitor-1_33_1.lo"

...failed darwin-Link-DyLib-action bin/boost/libs/test/build/
libboost_test_exec_monitor.dylib/darwin/release/shared-linkable-true/
libboost_test_exec_monitor-1_33_1.dylib...
...skipped <@boost!lib>libboost_test_exec_monitor-1_33_1.dylib for
lack of <@boost!libs!test!build/libboost_test_exec_monitor.dylib/
darwin/release/shared-linkable-
true>libboost_test_exec_monitor-1_33_1.dylib...
darwin-Link-DyLib-action bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
libboost_unit_test_framework-d-1_33_1.dylib
ld: Undefined symbols:
__Z20init_unit_test_suiteiPPc
/usr/bin/libtool: internal link edit command failed

     DYLD_LIBRARY_PATH=bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true
     export DYLD_LIBRARY_PATH
     ld -dynamic -m -r -d -o "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
libboost_unit_test_framework-d-1_33_1.lo" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
compiler_log_formatter.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
execution_monitor.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
framework.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
plain_report_formatter.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
progress_monitor.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
results_collector.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
results_reporter.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
test_tools.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
unit_test_log.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
unit_test_main.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
unit_test_monitor.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
unit_test_parameters.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
unit_test_suite.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
xml_log_formatter.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
xml_report_formatter.o" \
     && \
     c++ -g -o "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
libboost_unit_test_framework-d-1_33_1.dylib" "bin/boost/libs/test/
build/libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-
true/libboost_unit_test_framework-d-1_33_1.lo" \
         \
            -dynamiclib -install_name "libboost_unit_test_framework-
d-1_33_1.dylib" \
     && \
     rm -f "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
libboost_unit_test_framework-d-1_33_1.lo"

...failed darwin-Link-DyLib-action bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-true/
libboost_unit_test_framework-d-1_33_1.dylib...
...skipped <@boost!lib>libboost_unit_test_framework-d-1_33_1.dylib
for lack of <@boost!libs!test!build/
libboost_unit_test_framework.dylib/darwin/debug/shared-linkable-
true>libboost_unit_test_framework-d-1_33_1.dylib...
darwin-Link-DyLib-action bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/libboost_unit_test_framework-1_33_1.dylib
ld: Undefined symbols:
__Z20init_unit_test_suiteiPPc
/usr/bin/libtool: internal link edit command failed

     DYLD_LIBRARY_PATH=bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-true
     export DYLD_LIBRARY_PATH
     ld -dynamic -m -r -d -o "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/libboost_unit_test_framework-1_33_1.lo" "bin/boost/libs/test/
build/libboost_unit_test_framework.dylib/darwin/release/shared-
linkable-true/compiler_log_formatter.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/execution_monitor.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/framework.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/plain_report_formatter.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/progress_monitor.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/results_collector.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/results_reporter.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/test_tools.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/unit_test_log.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/unit_test_main.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/unit_test_monitor.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/unit_test_parameters.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/unit_test_suite.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/xml_log_formatter.o" "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/xml_report_formatter.o" \
     && \
     c++ -Wl,-x -o "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/libboost_unit_test_framework-1_33_1.dylib" "bin/boost/libs/test/
build/libboost_unit_test_framework.dylib/darwin/release/shared-
linkable-true/libboost_unit_test_framework-1_33_1.lo" \
         \
            -dynamiclib -install_name
"libboost_unit_test_framework-1_33_1.dylib" \
     && \
     rm -f "bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/libboost_unit_test_framework-1_33_1.lo"

...failed darwin-Link-DyLib-action bin/boost/libs/test/build/
libboost_unit_test_framework.dylib/darwin/release/shared-linkable-
true/libboost_unit_test_framework-1_33_1.dylib...
...skipped <@boost!lib>libboost_unit_test_framework-1_33_1.dylib for
lack of <@boost!libs!test!build/libboost_unit_test_framework.dylib/
darwin/release/shared-linkable-
true>libboost_unit_test_framework-1_33_1.dylib...
...failed updating 6 targets...
...skipped 6 targets...
Not all Boost libraries built properly.

Oliver Gräser
Physics Department, University of Konstanz
Soft Condensed Matter Theory Group
Universitätsstrasse 10 / M671
D-78457 Konstanz
phone: +49 7531 882550
mailto:oliver.graeser_at_[hidden]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk