title: Linking a shared library with another shared lib in linux
body: <p>I am trying to build a shared library. Let us say <code>libabc.so</code>. It uses another <code>.so</code> file , say <code>lib123.so</code> (a lib in <code>/usr/local/lib</code>). Now I am using my shared lib <code>libabc.so</code> in my application. Say <code>my-app</code>. I want to know how I should link these binaries? I don't want to link <code>my-app</code> with <code>lib123.so</code> directly. <code>my-app</code> should be linked with only <code>libabc.so</code>. How can I do this?</p>
  <p>Thanks in advance. I am using <code>g++</code> compiler.</p>