title: How to CORRECTLY install gsl library in Linux?
body: <p>I got a problem while installing the GNU Scientific Library (gsl). 
  I put the package on my desktop, and did "./configure", "make", and "sudo make install", according to the document included. I checked the /usr/local/include directory, there is a newly created "gsl" folder in there. But When I tried to use the functions provided by the library, the "undefined reference to 'gsl_sf_beta_inc'" error occurred. Here is my code.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;gsl/gsl_sf_gamma.h&gt;
  
  int main (void)
  {
      double a = 20;
      double b = 1000;
      double x = 0.5;
      double result = gsl_sf_beta_inc(a, b, x);
      printf("%f/d", result);
      return 0;
  }
  </code></pre>
  
  <p>I sensed that the problem might be caused by the fact I put the package on the desktop, so the binary code generated by the "make" command goes there, which is wrong. 
  So, is my guess correct? If it is, where should I put them? If it is not, what should I do?
  Thanks.</p>