Link Copied
This is interesting. The symbol you mentioned should be explicitly exported by either debug or release TBB libraries.
One possible problem is that the TBB binaries are not found by loader in your environment setup for Renderman; ensure that the TBB binaries are located in a directory that the loader can search. E.g. on Linux, try using LD_LIBRARY_PATH, or simply copy libtbb.so.2 to /usr/local/lib or another directory you know for sure is searched by the loader.
If the above does not help, please provide more information. What HW and operating system do you use? Could you set the environment variable TBB_VERSION to 1, run your test, and provide the lines TBB puts to stdout (all starting with TBB:)? Do I understand it right that Renderman tries to load your program dynamically (as a plugin) and fails?
For more complete information about compiler optimizations, see our Optimization Notice.