Skip to content

Infant AFAR libstdc++.so error GLIBCXX #10

Description

@bmaneesh

If you encounter a libstdc++.so version mismatch error when using PyAFAR (particularly, the infant models), try the following:

  1. Update the libraries by running: conda install -c conda-forge libstdcxx-ng
  2. Find all versions of libstdc++ present in your conda environment: find <INSERT_PATH_TO_CONDA_ENV> -name "libstdc++.so*"
  3. Remove old versions in your conda environment: rm <INSERT_PATH_FROM_LAST_STEP>/libstdc++.so.6.0.29
  4. Update to fit the filename to match the lightgbm library requirement by creating a softlink of the latest version of libstdc++: ln -s libstdc++.so.6.0.30 libstdc++.so.6

If this worked for you, upvote the original StackOverflow answer here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions