<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Christoph Russ</title>
    <description>Developer from Earth</description>
    <link>http://christophruss.github.io</link>
    <atom:link href="http://christophruss.github.io/feed.xml" rel="self" type="application/rss+xml" />
    
      <item>
        <title>Mac OS X Link Path Editing</title>
        <description>&lt;p&gt;Dynamically linked libraries sometimes go missing under Mac OS X.
Maybe you updated that old library you compiled against a year ago and you do not feel like recompiling your code right now
or maybe you got this executable from a trusted source, but your system doesn&amp;#39;t find the library at path &lt;code&gt;/Users/iusedstaticpaths/lib.dylib&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Regardless, there is a solution: &lt;code&gt;install_name_tool&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;First, check the library dependencies of your executable or dynamic library (&lt;code&gt;-D&lt;/code&gt;) with:
&lt;code&gt;otool -L /path/to/my/runtime&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then, call &lt;code&gt;install_name_tool&lt;/code&gt; to replace any path you want:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;install_name_tool -change &amp;quot;/path/to/unknown/lib.0.0.dylib&amp;quot; lib.dylib runtime&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;In this example I also removed the version numbering, which is not always recommended, but will commonly work if your lib hasn&amp;#39;t undergone significant API changes.&lt;/p&gt;

&lt;p&gt;Lastly, if your dynamic library still can&amp;#39;t be found,  make sure it is inside the &lt;code&gt;DYLD_LIBRARY_PATH&lt;/code&gt; or maybe &lt;code&gt;DYLD_FALLBACK_LIBRARY_PATH&lt;/code&gt;.
For more options please read &lt;code&gt;man install_name_tool&lt;/code&gt;.&lt;/p&gt;
</description>
        <pubDate>Mon, 27 Apr 2015 00:00:00 +0000</pubDate>
        <link>http://christophruss.github.io/Mac-OS-X-Link-Path-Editing/</link>
        <guid isPermaLink="true">http://christophruss.github.io/Mac-OS-X-Link-Path-Editing/</guid>
      </item>
    
      <item>
        <title>What is this for?</title>
        <description>&lt;p&gt;I needed a place to put tweaks, hacks, findings or whatever you would like to call it. Others may also find them usefull - at least it will allow me to remember them later on.&lt;/p&gt;

&lt;p&gt;I am using the basic jekyll-now repository, which appears to work well. First recommendation is therefore to check out:
&lt;a href=&quot;https://github.com/barryclark/jekyll-now&quot;&gt;Jekyll Now repository&lt;/a&gt; on GitHub.&lt;/p&gt;
</description>
        <pubDate>Mon, 27 Apr 2015 00:00:00 +0000</pubDate>
        <link>http://christophruss.github.io/Hello-World/</link>
        <guid isPermaLink="true">http://christophruss.github.io/Hello-World/</guid>
      </item>
    
  </channel>
</rss>