Abdulla,

libtbbmalloc_proxy.4.0.dylib from libttb4 package links to 
libtbbmalloc.dylib, but doesn't use the full correct install_name from 
that library. This causes runtime failure for anything linking to 
libtbbmalloc_proxy.4.0.dylib.

$ otool -L /sw/lib/libtbbmalloc_proxy.4.0.dylib
/sw/lib/libtbbmalloc_proxy.4.0.dylib:
        /sw/lib/libtbbmalloc_proxy.4.0.dylib (compatibility version 0.0.0, 
current version 0.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1226.10.1)
        libtbbmalloc.dylib (compatibility version 0.0.0, current version 0.0.0)
        /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 
120.1.0)

This is fixable by adding the following command to installscript after 
the "for I" loop:

install_name_tool -change libtbbmalloc.dylib 
%p/lib/libtbbmalloc.4.0.dylib %i/lib/libtbbmalloc_proxy.4.0.dylib

This is an upstream discussion about the underlying cause:
https://software.intel.com/en-us/forums/intel-threading-building-blocks/topic/505370

Hanspeter

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to