Just a quick note: linux build will fail to load `libFLAC.so.8`
In my case, I have the libs installed but they are version 12 so I created a soft link in the lib64 directory.
`ln -s /usr/lib/x86_64-linux-gnu/libFLAC.so.12 libFLAC.so.8`
this made the trick for me