Trying to build appmenu-gtk3-module which can't be loaded

I’m trying to build "appmenu-gtk3-module but when running GTK3 apps like mate-terminal the module can’t be loaded despite strace finding the shared libs.

Log from “strace mate-terminal > ~/mate-terminal.log 2>&1” attached in the PR: appmenu-gtk-module: init at 0.7.6 by LouisDK1 · Pull Request #95412 · NixOS/nixpkgs · GitHub