Cannot start observer: (UndefinedFunctionError) function :observer.start/0 is undefined

I am having a similar problem, I am using Sonoma 14.1.1 (m1), erlang 25.3.2.7, the issues boils in my case down to wxwidget compilation with erlang. I have not been able to compile erlang passing the --enable-wx --with-wx-config option.

it keep failing with the next:

clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [../priv/aarch64-apple-darwin23.1.0/erl_gl.so] Error 1