code signature in (/xxxxx) not valid for use in process using Library Validation : <p>I'm trying to build proxychains with xcode 8. When I run a program I got:</p>

<pre><code>/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib: code signing blocked mmap() of '/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib'
</code></pre>

<p>When I signed the program and library:</p>

<pre><code>codesign -s "Mac Developer: xxxx" `which proxychains` 
codesign -s "Mac Developer: xxxx" /usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib
</code></pre>

<p>No errors, but when I run it again, it says</p>

<pre><code>/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib: code signature in (/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib) not valid for use in process using Library Validation: mapping process is a platform binary, but mapped file is not
</code></pre>

<p>What should I do now? Do I need some sort of entitlements?</p>
