If you encounter a libstdc++.so version mismatch error when using PyAFAR (particularly, the infant models), try the following:
- Update the libraries by running:
conda install -c conda-forge libstdcxx-ng
- Find all versions of libstdc++ present in your conda environment:
find <INSERT_PATH_TO_CONDA_ENV> -name "libstdc++.so*"
- Remove old versions in your conda environment:
rm <INSERT_PATH_FROM_LAST_STEP>/libstdc++.so.6.0.29
- 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.
If you encounter a libstdc++.so version mismatch error when using PyAFAR (particularly, the infant models), try the following:
conda install -c conda-forge libstdcxx-ngfind <INSERT_PATH_TO_CONDA_ENV> -name "libstdc++.so*"rm <INSERT_PATH_FROM_LAST_STEP>/libstdc++.so.6.0.29ln -s libstdc++.so.6.0.30 libstdc++.so.6If this worked for you, upvote the original StackOverflow answer here.