I am trying to follow an alire gtkada tutorial “hellogtk” which builds OK but when I try “alr run” I get duplicate LC_RPATH errors. This is a known problem apparently due to recent Apple updates but I cannot find a solution.
what is exact error you are speaking about?
Mac Silicon
OSX 26.2
XCode 26.2
I updated to a later version of alr and the problem has changed.
Now, my source code and gtkAda compilation seems to complete successfully but now `i get the errors:
Link
[link] my_hello_gtk.adb
ld: warning: directory not found for option ‘-L/System/Volumes/Data/Ada_Projects/my_hello_gtk/alire/cache/dependencies/gtkada_26.0.0_489d17d3//lib’
ld: warning: directory not found for option ‘-L/System/Volumes/Data/Ada_Projects/my_hello_gtk/alire/cache/dependencies/gtkada_26.0.0_489d17d3//bin’
ld: framework not found Cocoa
collect2: error: ld returned 1 exit status
System/Volumes/Data/Ada_Projects/my_hello_gtk/alire/cache/dependencies/gtkada_26.0.0_489d17d3 exists but without lib and bin directories.
I don’t have lib/bin on Linux neither. This is not the issue, it just a warning. The problem is “ld: framework not found Cocoa”. And I don’t know Mac OS enough to say something useful. Sorry