我正在尝试安装这Ruby 库,因此我可以使用 FITS 文件,但在brew install sfitsio
我遇到此错误期间:
Last 15 lines from /home/dachsroot/.cache/Homebrew/Logs/sllib/02.cmake:
2017-10-21 12:36:01 -0300
cmake
.
-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG
-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG
-DCMAKE_INSTALL_PREFIX=/home/dachsroot/.linuxbrew/Cellar/sllib/1.4.2e
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_VERBOSE_MAKEFILE=ON
-Wno-dev
cmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
我试图找到解决方案,但我找到的只是说我必须安装的解决方案libstdc++6
,但我已经安装了该软件包。
sudo apt-get install libstdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
整个02.cmake
文件是这里。
我能做些什么?