我在安装CMAKE时也遇到了此类问题,我输入cmake,输出为:

cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)
Segmentation fault (core dumped)`

像您这样的东西。我像这样修复它:

sudo ln -fs /usr/lib/libcurl.so.4 /usr/local/lib/

sudo ln -fs /lib64/libcurl.so.4 /usr/local/lib/

然后,我输入cmake -version,结果是

cmake version 3.2.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

文档更新时间: 2024-05-12 23:35   作者:admin