Hi, quite some time ago there already was a discussion about the missing program_name symbol on Darwin and Richard proposed a patch [1] that would #define program_name as (((char **)*_NSGetArgv())[0]) but sadly the discussion died down without any result.
In NixOS we are currently facing this problem again and are looking for a solution [2]. It would be great if this could be fixed inside gnulib itself. I hope I can revive the discussion around this to move this topic forward this time. Thanks and best regards, Tobias [1] https://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00079.html [2] https://github.com/NixOS/nixpkgs/issues/15849