title: libuv undefined reference to uv_loop_new
body: <p>After compiling, I am trying to run <strong>libuv</strong> sample program: </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;uv.h&gt;
  
  int main() {
      uv_loop_t *loop = uv_loop_new();
  
      printf("Now quitting.\n");
      uv_run(loop, UV_RUN_DEFAULT);
  
      return 0;
  }
  </code></pre>
  
  <p>But, when try to run, I get the following error:</p>
  
  <pre><code>**/tmp/ccHTpspB.o: In function `main':
  main.c:(.text+0x9): undefined reference to `uv_loop_new'
  main.c:(.text+0x28): undefined reference to `uv_run'
  collect2: error: ld returned 1 exit status**
  </code></pre>
  
  <p>Where did I go wrong ?</p>
  
  <p>PS: It doesn't work with #include "uv.h"</p>