title: undefined reference to libnuma
body: <p>i'm trying to compile a simple test-program with libnuma (only numa_available is called) and i get a undefined reference error for this function.</p>
  
  <p>At first, i used apt-get to install libnuma-dev and then simply used gcc -lnuma -o test test.c to compile the test program. 
  This led to 'undefined reference of <code>numa_available</code>'. 
  Then, I used dpkg -L libnuma-dev to make sure that the lib is actually installed (and just be sure I used strings  to check whether the interface has changed or something - I know, this method is crap, but there were some "numa_available" strings in the lib, so i thought is rather safe to assume that the interface has not changed)</p>
  
  <p>Then i also tried -l:/usr/lib/x86_64-linux-gnu/libnuma.so and -L/usr/lib/x86..gnu, however this always led to the undefined reference error.</p>
  
  <p>Finally, i tried to statically link it (simply gcc -lnuma .... test.c /usr/lib../libnuma.a) and fortunately it works now... 
  However, can anyone tell me why it does not work dynamically linked?</p>
  
  <p>best regards</p>