Hi
On Thu, Jun 26, 2014 at 05:42:48PM +0200, Dumsani Ndzinisa wrote:
$ pgk-config hwloc --static --libs No command 'pgk-config' found, did you mean:
Ok. That is not a problem.
$ ls $HWLOC_DIR/libhwloc.* /usr/lib/x86_64-linux-gnu/libhwloc.a /usr/lib/x86_64-linux-gnu/libhwloc.so /usr/lib/x86_64-linux-gnu/libhwloc.so.0 /usr/lib/x86_64-linux-gnu/libhwloc.so.1 /usr/lib/x86_64-linux-gnu/libhwloc.so.2 /usr/lib/x86_64-linux-gnu/libhwloc.so.3 /usr/lib/x86_64-linux-gnu/libhwloc.so.4 /usr/lib/x86_64-linux-gnu/libhwloc.so.5 /usr/lib/x86_64-linux-gnu/libhwloc.so.5.4.0
Apparently no libhwloc.la - as here too.
$ ldd $HWLOC_DIR/libhwloc.so | grep numa libnuma.so.1 => /usr/lib/x86_64-linux-gnu/libnuma.so.1 (0x00007f84d1bf7000)
$ nm $HWLOC_DIR/libhwloc.a | grep -i numa $ nm -D $HWLOC_DIR/libhwloc.so | grep -i numa
$ ls /usr/lib/libnuma.* ls: cannot access /usr/lib/libnuma.*: No such file or directory
Ok, here this would probably need to be
$ ls /usr/lib/x86_64-linux-gnu/libnuma.*
$ dpkg -l '*libhwloc*' ii libhwloc-dev:a 1.8-1ubuntu1 amd64 Hierarchical view of the machine ii libhwloc5:amd6 1.8-1ubuntu1 amd64 Hierarchical view of the machine
$ dpkg -l '*libnuma*' ii libnuma1:amd64 2.0.9~rc5-1u amd64 Libraries for controlling NUMA po
Theoretically, the mentioned test in the configure script should not trigger for you, as there is no .la file. Something on the other hand seems to add -lnuma to your link line. It would be interesting to know what this is - because this is what makes this fail - you don't have libnuma1-dev (or libnuma-dev) installed, so there is no .so file (just the .so.1), which then lets the linker fail.
Frank