Error in running GUI

68 views
Skip to first unread message

Alex Maile

unread,
Feb 1, 2024, 1:20:32 PM2/1/24
to TNT-Tree Analysis using New Technology
Hello, 

I'm new to TNT and I'm running into some issues with the GUI. I get this error when trying to open the GUI:

I have reinstalled ask with /brew install atk which successfully works, but I still get the same error. When I install atk it does name it as at-spi2-core 2.50.1 but I'm not sure what file I need to change the directory name to or if there is another fix? 

Thanks

Error when opening gTNT:

Last login: Wed Jan 31 11:23:28 on ttys000

/Users/alexmaile/gTNT/gTNT ; exit;                                              

(base) alexmaile@Alexs-MBP ~ % /Users/alexmaile/gTNT/gTNT ; exit;

dyld[5360]: Library not loaded: /opt/homebrew/opt/atk/lib/libatk-1.0.0.dylib

  Referenced from: <7FA1C926-52D2-30F2-AD59-D77594A8131C> /Users/alexmaile/gTNT/gTNT

  Reason: tried: '/opt/homebrew/opt/atk/lib/libatk-1.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/atk/lib/libatk-1.0.0.dylib' (no such file), '/opt/homebrew/opt/atk/lib/libatk-1.0.0.dylib' (no such file), '/usr/local/lib/libatk-1.0.0.dylib' (no such file), '/usr/lib/libatk-1.0.0.dylib' (no such file, not in dyld cache)

zsh: abort      /Users/alexmaile/gTNT/gTNT


Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.


[Process completed]

Martín Morales

unread,
Feb 1, 2024, 1:42:00 PM2/1/24
to TNT-Tree Analysis using New Technology
Hi,

A couple of questions, just in case: which MacOS architecture are you using? (Intel, M1, M2); did you download the correct installer?

If the issue is not because an incompatible installer, I would try to run the installer again.

Greetings,

Martín

Martín Morales

unread,
Feb 5, 2024, 3:19:53 PM2/5/24
to TNT-Tree Analysis using New Technology
Hello again,

Another user reported the same issue and it's not a problem of architecture. As a workaround try, from terminal, run before gTNT, this:

export DYLD_LIBRARY_PATH=/opt/homebrew/opt/at-spi2-core/lib/:$DYLD_LIBRARY_PATH

If it works you should add this line to your rc-file (usually zsh.rc) at your home directory, so you don't have to do this anymore.

Please let me know.

Greetings,

Martín
Reply all
Reply to author
Forward
0 new messages