Emacs.app does not run after upgrade to macOS 13.0.1

Ryan Schmidt ryandesign at macports.org
Mon Nov 21 01:00:15 UTC 2022

On Nov 10, 2022, at 11:56, Artemio González López wrote:
> After installing the 13.0.1 update on my M1 MacBook Pro I emacs.app crashes on launch. Apparently, the problem is that it cannot find a library:
> Crashed Thread:        0
> Exception Type:        EXC_CRASH (SIGABRT)
> Exception Codes:       0x0000000000000000, 0x0000000000000000
> Termination Reason:    Namespace DYLD, Code 1 Library missing
> Library not loaded: /opt/local/lib/libicui18n.71.dylib
> Referenced from: <45F9A0DF-B06D-34C8-946F-88FFA574E722> /opt/local/lib/libxml2.2.dylib
> Reason: tried: '/opt/local/lib/libicui18n.71.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libicui18n.71.dylib' (no such file), '/opt/local/lib/libicui18n.71.dylib' (no such file), '/usr/local/lib/libicui18n.71.dylib' (no such file), '/usr/lib/libicui18n.71.dylib' (no such file, not in dyld cache)
> (terminated at launch; ignore backtrace)

icu was updated from version 71.x to 72.x on November 5. Everything that links with icu therefore has to be rebuilt.

It is possible that a simple "sudo port upgrade outdated" will not upgrade everything in the correct order, and you may have to initiate individual upgrades by name. For example, in this case, having encountered an error about libxml2 still being linked to icu 71, you should "sudo port upgrade libxml2" first, then try again. If you find another build error about another thing that is still linked with icu 71, upgrade that thing, then retry again, etc.

More information about the macports-users mailing list