X11 and grads do not work after upgrading to Sonoma

Richard L. Hamilton rlhamil at smart.net
Sat Oct 7 17:11:32 UTC 2023


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.

In my case, since I have the macosforge.org <http://macosforge.org/> Xquartz installed, it's a symlink to /opt/X11. That is of course not the macports version, which seems to have parts in
/opt/local/etc/X11	/opt/local/lib/X11
/opt/local/include/X11	/opt/local/share/X11
/opt/local/bin

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 .

Something built without using macports would presumably tend to expect /usr/X11 or /usr/local/X11.

> On Oct 7, 2023, at 11:29, Chris Jones <jonesc at hep.phy.cam.ac.uk> wrote:
> 
> 
> 
>> On 7 Oct 2023, at 4:25 pm, Tao Zhang <tzhang0616 at gmail.com> wrote:
>> 
>> Hi Chris,
>>  I am using time machine to transfer them from a Mojave Macbook pro to the present Sonoma machine.
>>  Is there a new version of X11 that can be installed into /usr/X11?
> 
> Not provided by macports, no.
> 
> I do not recommend what you are doing above as having anything in /usr/local is not supported by macports
> 
>  https://trac.macports.org/wiki/FAQ#usrlocal <https://trac.macports.org/wiki/FAQ#usrlocal>
> 
> Remove what you are putting in these locations and instead just use the macports versions
> 
> > sudo port install grads xorg-server
> 
> Chris
>> 
>>  Thanks
>>  Tao
>> 
>> 
>> On 10/7/23 9:16 AM, Chris Jones wrote:
>>> Hi,
>>> 
>>> /usr/local and /usr/X11 are not locations macports will install anything into, so you are not using a macports provided build of grads.
>>> 
>>> 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.
>>> 
>>> Chris
>>> 
>>>> On 7 Oct 2023, at 4:10 pm, Tao Zhang <tzhang0616 at gmail.com> wrote:
>>>> 
>>>> Hi,
>>>> 
>>>>  I have problem in X11 and grads after upgrading to  Sonoma. I am using intel i9 chip.
>>>> 
>>>>  see below.
>>>> 
>>>>  Do you know how to fix it?
>>>> 
>>>>  Thanks
>>>> 
>>>> Tao
>>>> 
>>>> 
>>>> “XQuartz” is damaged and can’t be opened.
>>>> 
>>>> MacBook-Pro-2018:~ 33;grads
>>>> dyld[6709]: Library not loaded: /usr/X11/lib/libX11.6.dylib
>>>>   Referenced from: <D78EE29B-2C05-333A-9BCA-438045C5F6EA> /usr/local/bin/grads
>>>>   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)
>>>> Abort
>>>> 
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20231007/f4551cfc/attachment.htm>


More information about the macports-users mailing list