<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Dec 9, 2014 at 11:19 AM, FritzS - gmx <span dir="ltr">&lt;<a href="mailto:fritzs@gmx.net" target="_blank">fritzs@gmx.net</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><blockquote type="cite"><div>Am 09.12.2014 um 16:39 schrieb Brandon Allbery &lt;<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>&gt;:</div><span class=""><div><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 9, 2014 at 10:32 AM, FritzS - gmx <span dir="ltr">&lt;<a href="mailto:fritzs@gmx.net" target="_blank">fritzs@gmx.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="overflow:hidden">If I want start it comes the error: dyld: Library not loaded: /usr/local/lib/libgtk-x11-2.0.0.dylib / Referenced from: /opt/local/bin/pan / Reason: image not found (1005)<br>
but libgtk-x11-2.0.0.dylib is in /opt/local/lib/libgdk-x11-2.0.0.dylib<br>
What can I do to solve this?<br></div></blockquote></div><br>That presumably is from Homebrew? /usr/local is not from MacPorts.</div><div class="gmail_extra"><br></div><div class="gmail_extra">OS X compiles full paths to shared libraries into the objects using them; if it is looking for /usr/local/lib<span style="font-size:12px">/libgtk-x11-2.0.</span><span style="font-size:12px">0.dylib then the library must be at *that* path. Putting it in /opt/local/lib or even /usr/lib will not work. You could possibly use install_name_tool to edit the path in the binary.</span></div></div></div></span></blockquote></div><div><br></div><div>I open a copy from pan with the Mac editor TextWrangler</div><div><br></div><div>It’s a lot of path I found in the header, between ‚confusion characters‘ - could I change this with TextWrangler without destroy the binary?</div></div></blockquote><div><br></div><div>No. I suggest if you must do this, then symlink the necessary shared objects to the expected paths under /usr/local.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>The main question, why could pan2 not compiled under Yosemite?</div></div></blockquote><div><br></div><div>Nobody knows, since you didn&#39;t provide the build log. (`port log pan2`, or attach the file named by `port logfile pan2` to the ticket you mentioned).</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>