BundleSDF icon indicating copy to clipboard operation
BundleSDF copied to clipboard

`GLIBCXX_3.4.29' not found

Open jjpatino-byte opened this issue 11 months ago • 4 comments

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)

jjpatino-byte avatar Jan 24 '25 11:01 jjpatino-byte

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

AyeshaHabib avatar Jan 26 '25 04:01 AyeshaHabib

@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

ddemirdjian avatar Jan 29 '25 14:01 ddemirdjian

更新软件包列表

sudo apt update

升级 libstdc++6

sudo apt upgrade libstdc++6

如果需要,可以专门安装特定版本

sudo apt install libstdc++6 I

leesabak avatar Feb 23 '25 18:02 leesabak

sudo apt install libstdc++6 can solve problem

leesabak avatar Feb 23 '25 18:02 leesabak