My deployment depends on the python package soundfile. When I try to run the server, soundfile is an import and it crashes with the following message: OSError: cannot load library 'libsndfile.so' when trying to import soundfile. Most of what I found points to libsndfile1 being properly installed.
I've tried adding to aptPkgs but that fails because it says its not found when installing. I've tried manually installing in the build phase with "sudo apt-get update", "sudo apt-get install -y libsndfile1" and this installs it, but the application crashes saying it's not found. I got the same error as above when I tried installing without sudo: package not found from apt-get.