pan2 cannot compiled under Yosemite 10.10.1

Brandon Allbery allbery.b at gmail.com
Tue Dec 9 08:34:36 PST 2014


On Tue, Dec 9, 2014 at 11:19 AM, FritzS - gmx <fritzs at gmx.net> wrote:
>
> Am 09.12.2014 um 16:39 schrieb Brandon Allbery <allbery.b at gmail.com>:
>
> On Tue, Dec 9, 2014 at 10:32 AM, FritzS - gmx <fritzs at gmx.net> wrote:
>
>> 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)
>> but libgtk-x11-2.0.0.dylib is in /opt/local/lib/libgdk-x11-2.0.0.dylib
>> What can I do to solve this?
>>
>
> That presumably is from Homebrew? /usr/local is not from MacPorts.
>
> OS X compiles full paths to shared libraries into the objects using them;
> if it is looking for /usr/local/lib/libgtk-x11-2.0.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.
>
>
> I open a copy from pan with the Mac editor TextWrangler
>
> It’s a lot of path I found in the header, between ‚confusion characters‘ -
> could I change this with TextWrangler without destroy the binary?
>

No. I suggest if you must do this, then symlink the necessary shared
objects to the expected paths under /usr/local.


> The main question, why could pan2 not compiled under Yosemite?
>

Nobody knows, since you didn't provide the build log. (`port log pan2`, or
attach the file named by `port logfile pan2` to the ticket you mentioned).

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20141209/30fc1616/attachment.html>


More information about the macports-users mailing list