<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">download and install xquartz from <a href="https://www.xquartz.org" class="">https://www.xquartz.org</a>. This is the semi-official X11.app replacement. Did not get an update for four years now but it brings the needed libraries and installs in /opt/x11.</div><div class=""><br class=""></div><div class="">Good luck! :)</div><div class=""><br class=""></div><div class="">Dominik<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 22. Dec 2020, at 08:50, Michael <<a href="mailto:keybounce@gmail.com" class="">keybounce@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class="">On 2020-12-21, at 8:38 PM, Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com" class="">ken.cunningham.webuse@gmail.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class="">A thought — perhaps you might just take the easy road, and install the libraries it is looking for, in /opt/X11<br class=""><br class="">what is that, XQuartz? <br class=""></blockquote><br class="">Except that the current version of XQuartz is, as I understand it, what Macports provides.<br class=""><br class="">i.e. -- my choice is either an 8 year old apple build, or a current Macport build.<br class=""><br class="">(If I'm wrong here, please tell me.)<br class=""><br class=""><blockquote type="cite" class=""><br class="">K<br class=""><br class=""><blockquote type="cite" class="">On Dec 21, 2020, at 7:01 PM, Michael <<a href="mailto:keybounce@gmail.com" class="">keybounce@gmail.com</a>> wrote:<br class=""><br class="">OK. Next question: Is there any reason I cannot install libpng version 15 at the sametime?<br class=""><br class="">I am aware that there is a non-versioned link file, that the latest version of the dynamic library installs. That can stay at 16 where it belongs. I mean specifically having both the libpng15 and the libpng16 files.<br class=""><br class="">I am very surprised at linking to a specific version of a dynamic library. This is actually commercial software, and it did not link to generic "libpng", nor to generic "libpng15" -- linking to a specific version of a dynamic library? Isn't the whole point of dynamic libraries that you don't get a single specific buggy version, but the latest non-buggy version?<br class=""><br class="">On 2020-12-21, at 6:55 PM, Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com" class="">ken.cunningham.webuse@gmail.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On 2020-12-21, at 10:55 AM, Michael <keybounce at <a href="http://gmail.com" class="">gmail.com</a>> wrote: > This should be a simple one. I hope. <br class=""><blockquote type="cite" class=""><br class="">I just installed a program that was compiled against the release version of mac's X11. Crashes on startup with this: <br class=""><br class="">dyld: launch, loading dependent libraries <br class=""><br class="">Dyld Error Message: <br class="">Library not loaded: /opt/X11/lib/libpng15.15.dylib <br class=""><br class="">What symbolic links do I need? /opt has no X11 directory. <br class=""></blockquote>Ok, another question. I found this: /opt/local/lib/libpng16.16.dylib I cannot find the older version. What do I need to do to install both the current and the older version of this library at the same time? <br class=""></blockquote><br class="">There are likely to be more libraries missing after you fix this one, but you can try.<br class=""><br class="">EIther symlink a real library that is the same or as similar as you have into the position being looked for:<br class=""><br class="">sudo ln -s /opt/local/lib/libpng16.16.dylib /opt/X11/lib/libpng15.15.dylib<br class=""><br class="">or<br class=""><br class="">use install_name_tool to change /opt/local/lib/libpng16.16.dylib to /opt/X11/lib/libpng15.15.dylib in your binary.<br class=""><br class="">install_name_tool -change /opt/local/lib/libpng16.16.dylib /opt/X11/lib/libpng15.15.dylib /path/to/my/binary<br class=""><br class=""><br class="">You can see that there are many many ways this could break / not work at all. <br class=""><br class="">But it sometimes works, if you’re lucky, and the libraries are very close to what is being looked for.<br class=""><br class="">K<br class=""></blockquote><br class="">---<br class="">This message was composed with the aid of a laptop cat, and no mouse<br class=""><br class=""></blockquote><br class=""></blockquote><br class="">---<br class="">Entertaining minecraft videos<br class=""><a href="http://YouTube.com/keybounce" class="">http://YouTube.com/keybounce</a><br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>