INstallation problem

I am very new in asterisk. I am facing some problem in installing Asterisk-

Running commands under /usr/src/asterisk-version folder
make clean
make menuselect
make install (Here I am getting error)

/usr/bin/ld : can not find -lidn
collect2: ld returned 1 exit status
make[1]: ***[] Error 1
make[ : ** [func] error 2

Kindly help me to solve the problem.

Thanks in advance.


Do you follow the step in Readme file in the Asterisk’s source???
I think that some dependencies are missing.
Best Regard :smiley: