Asterisk & OSX 10.7.2

Hello everyone,

Browsing through the forum I was able to compile asterisk (the latest version - 1.8.7), but it seems there is still some problem to make in run. Trying to execute the binary I get:

dyld: Symbol not found: ___ast_adsi_available
Referenced from: /usr/local/sbin/asterisk
Expected in: flat namespace

Trace/BPT trap: 5

Any solution to the issue above?
Thanks


Regards

Hey gent jesus I have been trying to install asterisk on osx 10.6.3 snow leopard for a week now. if u have a step by step hand i ccould sure use it. im bout to lose it.
thanks man,
seven8

Hey Seven8,

Installing Asterisk on snow leopard is easy. You have 2 options - use port or manual install, both work like a charm. If you choose to install manually - download the source code and don’t forget to get dahdi. Install all the dependencies, unpack and install dahdi (you need to install dahdi-dummy), then asterisk = configure, make, make install.
After playing (actually miserably failing) with 10.7.2 I have decided to install vmware and the latest version of asterisk in the virtual machine (I don’t have to mention the advantages of this method, do I?). The only thing to mention is - if you go for vmware method and wish to have good call/sound quality, dont forget to go to the “settings - advanced - other” and change “preferred virtualization method” to “Intel-VT-x”, make sure that the your vm .vmx file contains - tools.syncTime = “TRUE”. Now you are good to go :smile:
Questions? Good luck.


Regards

Just tried (but failed) to get a running 1.8.9 on Lion using the following steps:

in res/snmp/agent.c add “#define RONLY 1”

in makeopts, change “CONFIG_LDFLAGS=” to “CONFIG_LDFLAGS= /usr/lib/bundle1.o"

then when I run asterisk I get

dyld: Symbol not found: ___ast_adsi_available
Referenced from: /usr/local/sbin/asterisk
Expected in: flat namespace

Trace/BPT trap: 5

I also tried to disable res_adsi in the makemenu then re-running make and sudo make install but to no avail.