Re: libtbb4 library has bad install_name usage
Abdulla Kamar <[email protected]> Wed, 15 Mar 2017 12:43:31 +0000
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <CAKs+9rE6ShAxdEwKzoV-1FeL0r0TYda1q_RmBjvFcj3PdWg5Jw@mail.gmail.com> |
Hi Hanspeter My apologies but I don't use Fink anymore, and am moving to Linux for development. That seems like a reasonable fix to me, thanks for investigating it. On Wed., 15 Mar. 2017, 9:15 pm Hanspeter Niederstrasser, < [email protected]> wrote: > 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 [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel