This library is needed for 3GPP speech codecs. Unfortunately libamr is not in Ubuntu repository so we have to get it from Madiabuntu repositories. To do so, we have to add Mediabuntu repositories to our sources list:
$ sudo wget http://www.medibuntu.org/sources.list.d/hardy.list --output-document=/etc/apt/sources.list.d/medibuntu.list
$ sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
Now we can just apt-get it with the command:
$ sudo apt-get install libamrnb-dev libamrwb-dev