title: How to make a .so executable on OSX?
body: <p>I have a simple C library that I compile to a <code>.so</code> file on my linux machine. I'd like to do the same on my Mac, but after I compile and move the library to <code>/usr/local/lib</code>, but I'm not sure how to link it seeing as <code>ldconfig</code> isn't a thing.</p>
  
  <p>How would I go about doing this?</p>