#1717: hwloc: lnuma & lltdl *really* required? ------------------------------------+--------------------------------------- Reporter: zachetie@… | Owner: Type: defect | Status: new Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: ------------------------------------+---------------------------------------
Comment (by eschnett):
No, the hwloc package manager's decision is not correct. libhwloc-dev provides a library libhwloc.a that cannot be used without libltdl.a. Thus, it either needs to depend on the libltdl-dev package, or needs to provide a library libhwloc.a that does not have this dependency.
If you want to provide a work-around, then I suggest to do this in the system-specific file "ubuntu.cfg" of Simfactory. Of course, you can also check in hwloc's configure script whether we are using the system hwloc library, whether it depends on libltdl, whether this library is installed, etc., and if so, refuse to use the system library. We usually don't go to these lengths when looking for existing libraries, though. If you really want to go this route, then I would suggest using autoconf or cmake for this, which provide exactly this kind of functionality.