[GH-ISSUE #524] ImportError: /usr/local/miniconda3/envs/ktransformers/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/local/miniconda3/envs/ktransformers/lib/python3.11/site-packages/cpuinfer_ext.cpython-311-x86_64-linux… #373

Closed
opened 2026-10-29 14:38:45 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @Bsgg1 on GitHub (Feb 20, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/524

ImportError: /usr/local/miniconda3/envs/ktransformers/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/local/miniconda3/envs/ktransformers/lib/python3.11/site-packages/cpuinfer_ext.cpython-311-x86_64-linux-gnu.so)

Originally created by @Bsgg1 on GitHub (Feb 20, 2025). Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/524 ImportError: /usr/local/miniconda3/envs/ktransformers/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/local/miniconda3/envs/ktransformers/lib/python3.11/site-packages/cpuinfer_ext.cpython-311-x86_64-linux-gnu.so)
bsakaguchi 2026-10-29 14:38:45 +00:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@yansiyu550 commented on GitHub (Feb 20, 2025):

The version of the libstdc++ library is mismatched. Run the following command to find it:

find / -name "libstdc++.so.6*"
strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX

Look for GLIBCXX_3.4.30. If it exists, create a symbolic link to it. If it doesn't exist, upgrade it by running the following commands:

apt-get install software-properties-common
add-apt-repository ppa:ubuntu-toolchain-r/test
apt-get update
apt-get install libstdc++6
<!-- gh-comment-id:2670570905 --> @yansiyu550 commented on GitHub (Feb 20, 2025): The version of the libstdc++ library is mismatched. Run the following command to find it: ``` find / -name "libstdc++.so.6*" strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX ``` Look for GLIBCXX_3.4.30. If it exists, create a symbolic link to it. If it doesn't exist, upgrade it by running the following commands: ``` apt-get install software-properties-common add-apt-repository ppa:ubuntu-toolchain-r/test apt-get update apt-get install libstdc++6 ```
Author
Owner

@imagoodman-aa commented on GitHub (Feb 21, 2025):

ImportError: /data/private/zxq2023/workspace/miniconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/zxq2023/workspace/miniconda3/lib/python3.12/site-packages/cpuinfer_ext.cpython-312-x86_64-linux-gnu.so)
我也是这个错误 strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX 是有结果的,link了 但还是不行。。

The version of the libstdc++ library is mismatched. Run the following command to find it:

find / -name "libstdc++.so.6*"
strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX

Look for GLIBCXX_3.4.30. If it exists, create a symbolic link to it. If it doesn't exist, upgrade it by running the following commands:

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

ImportError: /data/private/zxq2023/workspace/miniconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/zxq2023/workspace/miniconda3/lib/python3.12/site-packages/cpuinfer_ext.cpython-312-x86_64-linux-gnu.so)
我也是这个错误 strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX 是有结果的,link了 但还是不行。。

<!-- gh-comment-id:2675077950 --> @imagoodman-aa commented on GitHub (Feb 21, 2025): ImportError: /data/private/zxq2023/workspace/miniconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/zxq2023/workspace/miniconda3/lib/python3.12/site-packages/cpuinfer_ext.cpython-312-x86_64-linux-gnu.so) 我也是这个错误 strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX 是有结果的,link了 但还是不行。。 > The version of the libstdc++ library is mismatched. Run the following command to find it: > > ``` > find / -name "libstdc++.so.6*" > strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX > ``` > > Look for GLIBCXX_3.4.30. If it exists, create a symbolic link to it. If it doesn't exist, upgrade it by running the following commands: > > ``` > apt-get install software-properties-common > add-apt-repository ppa:ubuntu-toolchain-r/test > apt-get update > apt-get install libstdc++6 > ``` ImportError: /data/private/zxq2023/workspace/miniconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/zxq2023/workspace/miniconda3/lib/python3.12/site-packages/cpuinfer_ext.cpython-312-x86_64-linux-gnu.so) 我也是这个错误 strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX 是有结果的,link了 但还是不行。。
Author
Owner

@ErvinXie commented on GitHub (Dec 11, 2025):

This issue has been automatically closed due to inactivity for 60 days.

If you believe this issue is still relevant, please feel free to reopen it with additional information or context.

Thank you for your contribution to KTransformers!


此 issue 因超过 60 天无活动而被自动关闭。

如果您认为此问题仍然存在,请随时重新打开并提供更多信息或上下文。

感谢您对 KTransformers 的贡献!

<!-- gh-comment-id:3639925846 --> @ErvinXie commented on GitHub (Dec 11, 2025): This issue has been automatically closed due to inactivity for 60 days. If you believe this issue is still relevant, please feel free to reopen it with additional information or context. Thank you for your contribution to KTransformers! --- 此 issue 因超过 60 天无活动而被自动关闭。 如果您认为此问题仍然存在,请随时重新打开并提供更多信息或上下文。 感谢您对 KTransformers 的贡献!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/ktransformers#373
No description provided.