title: Does RTLD_FIRST on mac do the job of RTLD_DEEP_BIND on linux?
body: <p>My understanding of RTLD_DEEP_BIND on linux is that if you have a function A() in your main program, and two functions A() and B() in a dynamically linked library (call it lib) where B is defined as:</p>
  
  <pre><code>B()
  {
     A();
  }
  </code></pre>
  
  <p>Then a call to B() would ALWAYS end up calling A from the library. Is this the job that RTLD_FIRST does on a mac? Sorry - I am confused by the docs.</p>