Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
29 Views

TBB 40 Update 4 Precompiled OS X binaries are missing files

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
Highlighted
29 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
0 Kudos
Highlighted
Beginner
29 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.
0 Kudos
Highlighted
29 Views

Hello Mike, your application do not run or will not run? other words - have you tried this? thanks --Vladimir
0 Kudos
Highlighted
Valued Contributor II
29 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?
0 Kudos