Ubuntu – How to properly link libsndfile when compiling a standalone file using gcc
I'm using the libsndfile library for a signal processing project. I'm compiling c code using gcc on a WSL Ubuntu shell. I installed libsndfile-dev using sudo apt-get install libsndfile1-dev, as well as built the cloned libsndfile repository following its instructions…