[英]error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
[英]error while checking gdb version: error while loading shared libraries: libpython3.10.dll: cannot open shared object file: No such file or directory
我正在使用 MSYS2 並安裝了所有 gcc、g++ 和 gdb。 gcc 和 g++ 工作正常,我可以檢查版本。 但在嘗試檢查 gdb 版本時:
$ gdb --version
C:/msys64/mingw64/bin/gdb.exe: error while loading shared libraries: libpython3.10.dll: cannot open shared object file: No such file or directory
這出現了。 我嘗試重新安裝 package 但錯誤仍然存在。 我該如何解決這個問題? (初學者,如有錯誤請見諒)
使用 MSYS2 終端安裝 Python 3 為我解決了這個問題。
pacman -S mingw-w64-x86_64-python3
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.