Brice Goglin, le Wed 05 Sep 2012 16:13:31 +0200, a écrit : > The problem I was trying to fix below is that linking hwloc plugins on > Darwin failed because plugins referred to hwloc-core symbols. Nothing on > the libtool command-line said where to find those symbols (I don't > understand why it worked on other platforms).
Because on other platforms, undefined symbols are allowed. > I added -lhwloc as a way to tell the linker "those symbols are there". > I didn't think it would statically link libhwloc inside the plugins, > and it doesn't seem to do so (from what I see in objdump). Is this > what you mean? No, he means that it'll also make the loader load libhwloc.so. Even if the application linked libhwloc.a statically. > It's really a problem when linking, not about loading But it has effects on loading. Samuel