Compiling Asterisk on a mac?

Has anyone done this? I’m getting:

ld: duplicate symbol dyld_stub_binding_helper in /usr/lib/bundle1.o and /usr/lib/bundle1.o
collect2: ld returned 1 exit status
make[1]: *** [] Error 1
make: *** [channels] Error 2

And I don’t find any of that appearing in chan_agent.c…

Is there something obvious I’m missing?


Never mind. For some reason that library was loaded twice. I commented out the line where it is manually loaded in the makefile, and it seems to have built…