title: C - parsing text and calling functions
body: <p>i have followind problem.
  I have text parser located in parser.o library. I would like to parse some text(find functions) and call them. Functions are implemented in functions.o file. I am able to parse text, but i dont know how to call function from library functions.o. I am using <code>dlopen(NULL, RTLD_NOW);</code> to get reference to main program, but when i run actual program, it cant find given function and error <code>"./program: undefined symbol: function_name"</code> appears(function_name is located in functions.o) :/. I cant link functions.o with <code>dlopen(functions.o,...)</code> because it is not dynamically linked library. I am compiling program with:</p>
  
  <pre><code>   `gcc main.c lib/*`
  </code></pre>
  
  <p>Any help? :)</p>