Boost logo

Boost-Build :

Subject: Re: [Boost-build] installing boost on Mac OS X (version 10.5.5)
From: J. van der Wulp (jwulp_at_[hidden])
Date: 2008-10-21 07:31:31


I think this problem may be solved by adding <linkflags>-undefined
dynamic_lookup. This has the effect that dependent symbol lookup is
postponed until runtime. Because the filesystem library is linked
against the system library I think it will resolve just fine at runtime.

- Jeroen van der Wulp

Vladimir Prus wrote:
> On Tuesday 21 October 2008 13:47:14 Judith Wiesinger wrote:
>> hi everybody,
>> I have installed boost (version 1.36) on my new mac and when I want to
>> compile any program using parts of the boost library I have got the
>> following error message (please, find below - "Undefined symbols...").
>> (remark: There is should be no problem with my own source code since it
>> compiles fine on other systems.)
>> Did I forget to set some environmental variables or where does this error
>> come from?
>> If anybody could help me with that it would be awesome.
>> Thanks a lot,
>> Judith
>> *g++* -I /usr/local/include/boost-1_36/ FinancialEvent.cpp Trade.cpp
>> Quote.cpp FileHandler.cpp FEventsPerMin.cpp FEventsPerDay.cpp
>> FEventsPerStock.cpp FEventHandler.cpp Average.cpp AvgAndStdDev.cpp
>> MainPgm.cpp -o realDataHandler.exe -L~/boost/lib/
>> -lboost_iostreams-xgcc40-mt -lboost_filesystem-xgcc40-mt-1_36
>> -lboost_filesystem-xgcc40-mt -dynamic
>> *Undefined symbols*:
>> "boost::system::get_system_category()", referenced from:
> The error message say that the symbols from the boost.system library are not
> found. Does anything in your linker line call for boost.system to be included?
> Why are you including boost.filesystem twice in the linker command line? Try
> using just -lboost_filesystem-xgcc40-mt-1_36. Can you run
> ldd ~/boost/lib/
> - Volodya
> _______________________________________________
> Unsubscribe & other changes:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at