title: How to resolve shared library linking during compilation( GCC )?
body: <p>I have built <strong>libshared.so</strong> with is dependent on <strong>libshared_dependent.so</strong></p>
  
  <p>Now, I am compiling <strong>app.bin</strong> which is using <strong>libshared.so</strong>, Now at compile time gcc wants me to specify <strong>-lshared_dependent</strong> other wise it gives error that some symbols not found.</p>
  
  <p>Is there any way by which, At compile time I don't need to specify <strong>-lshared_dependent</strong>, I want that just specifying <strong>-lshared</strong> works?</p>