Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infant AFAR libstdc++.so error GLIBCXX #10

Open
bmaneesh opened this issue Dec 27, 2024 · 0 comments
Open

Infant AFAR libstdc++.so error GLIBCXX #10

bmaneesh opened this issue Dec 27, 2024 · 0 comments

Comments

@bmaneesh
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant