When installing scamp via pip and FluidSynth via a system package manager on Linux, a version mismatch between the system-installed FluidSynth and the Conda or virtual environment's libstdc++ can occur. This mismatch may result in errors like:
OSError: ... version GLIBCXX_3.4.30' not found,
when importing fluidsynth via pyFluidSynth.
Solution:
update the libstdc++ in the virtual environment to match the version required by FluidSynth:
conda install -c conda-forge gcc libstdcxx-ng in case of using miniconda as I do.
This will sync the c++ libraries and fix the issue.
This version compatibility should be at least mentioned in the README in the section where fluidsynth is installed as WARNING.