dyld: Library not loaded: libmysqlclient.18.dylib
<p>After upgrading Mac OS X to El Capitan, I got:</p>

<blockquote>
  <p>dyld: Library not loaded: libmysqlclient.18.dylib</p>
</blockquote>

<p>trying:</p>

<blockquote>
  <p><code>sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib</code></p>
</blockquote>

<p>I got:</p>

<blockquote>
  <p>ln: /usr/lib/libmysqlclient.18.dylib: Operation not permitted</p>
</blockquote>