Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
2403 Discussions

TBB 40 Update 4 Precompiled OS X binaries are missing files

bluequartz
Beginner
129 Views
If I run otool -L on the TBB OSS libraries i get the following:
/Users/Shared/Toolkits/tbb40_20120408oss/lib/libtbb.dylib:
libtbb.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.1)
mac64/libcilkrts.5.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
mac64/libcilkrts.5.dylib does not seem to be a standard OS X library? Some googling seems to indicatelibcilkrts.5.dylib is some sort of runtime libary for an intel commercial product which seems counter intuitive to an "open source" project. Can we get a recompile so that TBB does not depend on this library? Or package the precompiled libraries with this support library? My apps don't seem to run any more because libtbb is looking for this library.
Thanks
Mike Jackson
0 Kudos
4 Replies
Vladimir_P_Intel2
129 Views
hello Mike,
we use weak linkage to Intel Cilk Plus runtime library. As far as i understand we have this dependency from version3.0 Update 2. How do your application 'do not run' now, does it look for this library or what?
bash-3.2$ dyldinfo -dylibs ./libtbb.dylib                                                                                       
for arch i386:
attributes     dependent dylibs
                /usr/lib/libSystem.B.dylib
 weak_import    mac32/libcilkrts.5.dylib
                /usr/lib/libstdc++.6.dylib
                /usr/lib/libgcc_s.1.dylib
for arch x86_64:
attributes     dependent dylibs
                /usr/lib/libSystem.B.dylib
 weak_import    mac64/libcilkrts.5.dylib
                /usr/lib/libstdc++.6.dylib
                /usr/lib/libgcc_s.1.dylib

thanks,
--Vladimir
bluequartz
Beginner
129 Views
That is right. If you run otool -L you get a list of libraries that are linked and LOOKED for at runtime. Without these libraries my application will not run. I see TBB 4.1Update1 did not resolve this issue.
Vladimir_P_Intel2
129 Views
Hello Mike, your application do not run or will not run? other words - have you tried this? thanks --Vladimir
SergeyKostrov
Valued Contributor II
129 Views
>>...My apps don't seem to run any more... I think a better clarity is needed. Mike, please consider just three states: - All apps run - Some apps run and some don't run - All apps don't run Also, I wonder if all apps have the same dependencies on 3rd party libraries?
Reply