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

`GLIBCXX_3.4.29' not found #185

Open
jjpatino-byte opened this issue Jan 24, 2025 · 2 comments
Open

`GLIBCXX_3.4.29' not found #185

jjpatino-byte opened this issue Jan 24, 2025 · 2 comments

Comments

@jjpatino-byte
Copy link

When running "python run_ho3d.py":

ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /opt/conda/envs/py38/lib/python3.8/site-packages/scipy/spatial/_ckdtree.cpython-38-x86_64-linux-gnu.so)

@AyeshaHabib
Copy link

Follow these inside the docker file :
apt-get update
apt-get install -y software-properties-common
add-apt-repository ppa:ubuntu-toolchain-r/test
apt-get update
apt-get install -y libstdc++6

check by running "strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX" that it shows latest version of GLIBCXX more than .29

@ddemirdjian
Copy link

@AyeshaHabib To make your fix to work, I had to update gcc/g++ beforehand:

apt install gcc-10 g++-10
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100

Then:
apt-get update
apt-get install -y software-properties-common
add-apt-repository ppa:ubuntu-toolchain-r/test
apt-get update
apt-get install -y libstdc++6

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

3 participants