Skip to content

Solution: FluidSynth Dependency Version Mismatch Between System and Python Environment On Linux. #13

@MatejZeman02

Description

@MatejZeman02

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions