title: How does linker find shared library without SONAME
body: <p>if I create a shared library without a SONAME like this</p>
  
  <pre><code>gcc -shared libfoo.o -o libfoo.so
  </code></pre>
  
  <p>and link against it,
  how does the linker find my shared library?</p>
  
  <p>Is the filename <code>libfoo.so</code> considered as default SONAME by the linker?</p>