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 <tzhang0...@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 >