I've downloaded tbb22 and untar it. I've also exported LIBRARY_PATH to properly refer precompiled dynamic libraries under /ia32/cc4.0.1_os10.4.9/lib.
I could successfully build the example /parallel_for/game_of_live.NET. When I execute it I get the output:
./game_of_life 2:4 -t 5
dyld: Library not loaded: libtbb.dylib
Referenced from: /Users/simeonmitev/projects/tbb22_20090809oss/examples/parallel_for/game_of_life.NET/./game_of_life
Reason: image not found
make: *** [test] Trace/BPT trap
What could be the reason for that?