title: gcc wont compile and run MySQL C libraries
body: <pre><code>#include &lt;my_global.h&gt;
  #include &lt;mysql.h&gt;
  
  int main(int argc, char **argv)
  {
    printf("MySQL client version: %s\n", mysql_get_client_info());
  }
  </code></pre>
  
  <blockquote>
    <p>~$ gcc -o mysql-test MySQL-Test.c</p>
  </blockquote>
  
  <p>im trying to execute this test program from terminal but get the following error message: </p>
  
  <p>/tmp/cceEmI0I.o: In function <code>main': MySQL-Test.c:(.text+0xa): undefined reference to</code>mysql_get_client_info'</p>
  
  <p>what is wrong? my system is ubuntu</p>