<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="">I don't have Sonoma, nor Ventura up at the moment, but on Monterey, /usr/X11 is a symlink to /var/select/X11, which is another symlink.<div class=""><br class=""></div><div class="">In my case, since I have the <a href="http://macosforge.org" class="">macosforge.org</a> Xquartz installed, it's a symlink to /opt/X11. That is of course not the macports version, which seems to have parts in</div><div class=""><div class="">/opt/local/etc/X11<span class="Apple-tab-span" style="white-space:pre"> </span>/opt/local/lib/X11</div><div class="">/opt/local/include/X11<span class="Apple-tab-span" style="white-space:pre"> </span>/opt/local/share/X11</div></div><div class="">/opt/local/bin</div><div class=""><br class=""></div><div class="">On any of the locked down OS versions (Monterey or later at least), one probably can't change /usr/X11, but can probably change /var/select/X11 .<br class=""><div><br class=""></div><div>Something built without using macports would presumably tend to expect /usr/X11 or /usr/local/X11.</div><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 7, 2023, at 11:29, Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div dir="ltr" class=""></div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">On 7 Oct 2023, at 4:25 pm, Tao Zhang <<a href="mailto:tzhang0616@gmail.com" class="">tzhang0616@gmail.com</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class=""><span class="">Hi Chris,</span><br class=""><span class=""> I am using time machine to transfer them from a Mojave Macbook pro to the present Sonoma machine.</span><br class=""><span class=""> Is there a new version of X11 that can be installed into /usr/X11?</span><br class=""></div></blockquote><div class=""><br class=""></div>Not provided by macports, no.<div class=""><br class=""></div><div class="">I do not recommend what you are doing above as having anything in /usr/local is not supported by macports</div><div class=""><br class=""></div><div class=""> <a href="https://trac.macports.org/wiki/FAQ#usrlocal" class="">https://trac.macports.org/wiki/FAQ#usrlocal</a></div><div class=""><br class=""></div><div class="">Remove what you are putting in these locations and instead just use the macports versions</div><div class=""><br class=""></div><div class="">> sudo port install grads xorg-server</div><div class=""><br class=""></div><div class="">Chris<br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><span class=""></span><br class=""><span class=""> Thanks</span><br class=""><span class=""> Tao</span><br class=""><span class=""></span><br class=""><span class=""></span><br class=""><span class="">On 10/7/23 9:16 AM, Chris Jones wrote:</span><br class=""><blockquote type="cite" class=""><span class="">Hi,</span><br class=""></blockquote><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote><blockquote type="cite" class=""><span class="">/usr/local and /usr/X11 are not locations macports will install anything into, so you are not using a macports provided build of grads.</span><br class=""></blockquote><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote><blockquote type="cite" class=""><span class="">You should remove everything from these locations, and then install instead macports grads port. Also, in order to have a X11 server you should install macports xorg-server port.</span><br class=""></blockquote><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote><blockquote type="cite" class=""><span class="">Chris</span><br class=""></blockquote><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class="">On 7 Oct 2023, at 4:10 pm, Tao Zhang <<a href="mailto:tzhang0616@gmail.com" class="">tzhang0616@gmail.com</a>> wrote:</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class="">Hi,</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""> I have problem in X11 and grads after upgrading to Sonoma. I am using intel i9 chip.</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""> see below.</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""> Do you know how to fix it?</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""> Thanks</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class="">Tao</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class="">“XQuartz” is damaged and can’t be opened.</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class="">MacBook-Pro-2018:~ 33;grads</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class="">dyld[6709]: Library not loaded: /usr/X11/lib/libX11.6.dylib</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""> Referenced from: <D78EE29B-2C05-333A-9BCA-438045C5F6EA> /usr/local/bin/grads</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""> Reason: tried: '/usr/X11/lib/libX11.6.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/X11/lib/libX11.6.dylib' (no such file), '/usr/X11/lib/libX11.6.dylib' (no such file), '/usr/local/lib/libX11.6.dylib' (no such file), '/usr/lib/libX11.6.dylib' (no such file, not in dyld cache)</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class="">Abort</span><br class=""></blockquote></blockquote><blockquote type="cite" class=""><blockquote type="cite" class=""><span class=""></span><br class=""></blockquote></blockquote><span class=""></span><br class=""></div></blockquote></div></div></div></blockquote></div><br class=""></div></body></html>