0

I'm trying to rebuild an old research package (MONA Tool) in MacOS 15.3.2. It built and ran fine in MacOS14 but that build and any new build fails at runtime with the error:

~/Programming/mona-1.4  % mona
dyld[10180]: symbol not found in flat namespace '_guide'
zsh: abort      mona

I went back through the ./configure output and found no glaring errors and the compile only contained some deprecation warnings for sprintf usage.

I'm at a loss on how to even start to debug this as the error is so cryptic. How would one figure out where _guide is being used and what dynamic library it is expected to be in?

1
  • 1
    A quick grep through the source tells me that guide is defined in Front/mona.cpp. But because this is C++, it will likely get mangled to something like __Z5guide. I also see that the project has the linker flags -flat_namespace and -undefined suppress hardcoded, which sounds someone's desperate attempt to make compiler errors go away without understanding what they're doing. My first attempt would be to remove those flags, which will then probably lead to a bunch of compiler/linker errors, which may require (among others) a bunch of extern "C" { ... } to fix. Commented May 1 at 17:15

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.