title: How to link and compile with .so file in Linux
body: <p>I am having .c and .so file. I tried by using the following compilation: <code>gcc main.c -ldl</code>. In that .c file i linked to .so file through <code>dlsym()</code>. How to compile using .so file with .c.</p>