Error when running "make mozilla_voice_stt"

Hi!
I am following the instructions on how to build here: https://mozilla-voice-stt.readthedocs.io/en/master/BUILDING.html and when I come to run:
make mozilla_voice_stt
I get the following error:
c++ -std=c++11 -o mozilla_voice_stt 'pkg-config --cflags sox' -fopenmp client.cc -Wl,--no-as-needed -Wl,-rpath,\$ORIGIN -L/home/patrick/projects/new-deepspeech/STT/tensorflow/bazel-bin/native_client -lmozilla_voice_stt -Wl,-Bstatic 'pkg-config --static --libs sox' -lgsm 'pkg-config --static --libs libpng | cut -d' ' -f1' -lz -lmagic -lltdl -Wl,-Bdynamic -ldl /usr/bin/ld: cannot find -lgsm /usr/bin/ld: cannot find -lpng16 /usr/bin/ld: cannot find -lmagic /usr/bin/ld: cannot find -lltdl collect2: error: ld returned 1 exit status make: *** [Makefile:22: mozilla_voice_stt] Error 1

I am currently having a problem with solving the /usr/bin/ld: cannot find -lgsm error. I have sox and gsm installed but I still have this problem. How can I fix this?

Thanks!

OS: ArchLinux
Python version: 3.8
GCC version: 10.2.0-1
Bazel version: 3.1.0

Are you sure you have the proper dev package ?

I don’t think so. I can’t find the gsm dev package anywhere. Do you know where I can get it?

try sudo apt install libgsm1-dev libmagic-dev libpng16-dev

Except he’s running on archlinux, so apt is not a thing there.

That depends on your distro and I’m no user of ArchLinux, so I can’t help

Ye apt won’t help here… somehow missed that.