有类似的问题,但并不能解决我的问题。实际上我的cmake安装在conda环境之外。现在最近,当我重新安装Anaconda时,我遇到了cmake的libcurl.so.4版本问题。
sandipan@sandipan-HP-Z820-Workstation:~$ cmake
cmake: /home/sandipan/anaconda3/lib/libcurl.so.4: no version information available (required by cmake)
Usage
cmake [options] <path-to-source>
cmake [options] <path-to-existing-build>
Specify a source directory to (re-)generate a build system for it in the
current working directory. Specify an existing build directory to
re-generate its build system.
Run 'cmake --help' for more information.
sandipan@sandipan-HP-Z820-Workstation:~$ locate libcurl.so
/home/sandipan/anaconda3/lib/libcurl.so
/home/sandipan/anaconda3/lib/libcurl.so.4
/home/sandipan/anaconda3/lib/libcurl.so.4.5.0
/home/sandipan/anaconda3/pkgs/libcurl-7.60.0-h1ad7b7a_0/lib/libcurl.so
/usr/lib/x86_64-linux-gnu/libcurl.so.4
/usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0
sandipan@sandipan-HP-Z820-Workstation:~$
如何解决问题?我无法从conda环境中删除其他版本。除此之外,还有一些系统libcurl.so.4。