原因分析:
建立软连接的时候采用的是相对路径,所以才会产生这样的错误,解决方式是采用绝对路径建立软链接:

root@DESKTOP-0PH9L3H:~# rm -rf /usr/bin/cmake
root@DESKTOP-0PH9L3H:~# sudo ln -s /home/joanna/software/cmake-3.23.0-rc1-linux-x86_64/bin/cmake /usr/bin/cmake
root@DESKTOP-0PH9L3H:~# cmake --version
cmake version 3.23.0-rc1CMake suite maintained and supported by Kitware (kitware.com/cmake).

# cmake --version -bash: /usr/bin/cmake: Too many levels of symbolic links相关推荐

  1. [Ubuntu] bash shell soft-link error: Too many levels of symbolic links

    Please see the command below: 代码 david_lee@david-desktop:/home/david_lee/test$ sudo ln -s test /usr/ ...

  2. cmake编译安装完成后 执行cmake --version报错 bash: /usr/bin/cmake: 没有那个文件或目录

    cmake编译安装完成后 执行cmake --version报错 bash: /usr/bin/cmake: 没有那个文件或目录 cmake 没有那个目录 - 未完代码 - 博客园 因为直接使用cma ...

  3. pip 升级之后提示 bash: /usr/bin/pip3: No such file or directory

    1. 问题现象 pip 升级之后使用时报错: $ pip3 -V bash: /usr/bin/pip3: No such file or directory 通过命令查找 pip 位置 $ whic ...

  4. Jenkins配置jdk(启动报错:Starting Jenkins bash: /usr/bin/java: No such file or directory)

    jenkins 启动时报错:Starting Jenkins bash: /usr/bin/java: No such file or directory vim  /etc/init.d/jenki ...

  5. linux输入yum后提示: -bash: /usr/bin/yum: No such file or directory的解决方案

    linux输入yum后提示: -bash: /usr/bin/yum: No such file or directory的解决方案 参考文章: (1)linux输入yum后提示: -bash: /u ...

  6. pip3 -bash: /usr/bin/pip3: No such file or directory

    Context: 将python3添加至环境变量 ln -s /usr/local/python3.6/bin/pip3.6 /usr/bin/pip3 校验pip3 命令报错 Error: -bas ...

  7. bash: /usr/bin/ls: 参数或环境列表太长

    事件触发 检查主机空间使用情况发现/var/spool/mail/***使用空间达到了100%,也就是说*** 用户邮件满了,当然这并不影响业务正常运行[业务有独立空间存放],查看/var/spool ...

  8. mac 下面 you have an outdated version of /usr/bin/install_name_tool installed

    我在macpro,系统版本10.10.1 ,安装composer的时候提示 you have an outdated version of /usr/bin/install_name_tool ins ...

  9. -bash: /usr/bin/rm: 参数列表过长

    解决方法: find ./ -type f -name "*.nasl"|xargs rm -f find ./ -type f -name "*.*"|xar ...

最新文章

  1. OSChina 周一乱弹 —— 嫂子我帮你们照顾放心吧
  2. python在bim中的应用_Revit元素类别——Dynamo Python系列教程(六)
  3. 顶象iOS安全编译器(iOS安全加固神器) ——内测活动开始啦!
  4. 多线程:Immutable对象?如何创建Immutable对象?
  5. Zookeeper和kafka在linux环境下的安装
  6. SQL SERVER 一个SQL语句的执行顺序
  7. AcWing 1402. 星空之夜 1月28
  8. linux 搜索命令 历史,Linux 控制台神器:搜索历史命令 Ctrl + R ( ctrl + r to search the history command )...
  9. css 向左白色箭头,带CSS的工具提示左侧的箭头
  10. python小测试1答案_测试1:Python 基本语法(选择题
  11. vue中使用window.open会在url前自动添加本地服务器的地址bug修复
  12. c语言编程加三运算,C语言编程入门之--第五章C语言基本运算和表达式-part3
  13. 最新android工程目录下armeabi-v7a,armeabi的具体含义,有什么区别
  14. [蓝桥杯2018决赛]阅兵方阵
  15. 从中医的角度认识感冒
  16. java maven 编辑器,Maven compiler 插件
  17. postman接口自动化(三)变量设置与使用
  18. 2021小透明的年度总结
  19. JDK8安装时错误1335的解决
  20. 使用163邮箱发送邮件报错(554, b'DT:SPM 163 smtp3,G9xpCgCHi5RJOFVemMZ4Dw--.348S3 1582643274,please see http://ma

热门文章

  1. k2虚拟服务器功能,配置图形加速的View虚拟桌面-NVIDIA GRID K2使用指南
  2. PHP汉字转拼音笔记.txt
  3. 激活window10专业版的方法。
  4. iOS-error: unable to read property list from file: /Users/XX/Info.plist
  5. printf彩色字体颜色打印输出
  6. zookeeper--将学习过的知识放置到一个文档中,总结
  7. 游戏分类&&游戏开发常用术语
  8. [学习笔记]《零基础做出高逼格PPT》
  9. 解决php的“It is not safe to rely on the system’s timezone settings”问题
  10. HTML5斯诺克桌球俱乐部【译】