GVKun编程网logo

Fedora 33 ROS Noetic 'Could not find Boost (missing:python) (found version "1.73.0")' 错误

3

在本文中,我们将带你了解Fedora33ROSNoetic'CouldnotfindBoost(missing:python)(foundversion"1.73.0")'错误在这篇文章中,同时我们还

在本文中,我们将带你了解Fedora 33 ROS Noetic 'Could not find Boost (missing:python) (found version "1.73.0")' 错误在这篇文章中,同时我们还将给您一些技巧,以帮助您实现更有效的CentOS "libc.so.6: version ''GLIBC_2.14'' not found" 解决方法,同理 ''GLIBC_2.15'' not found"、composer 安装报错 root composer.json requires web/cors,it could not be found in any version、Could not find a version that satisfies the requirement cv2 (from versions: ) No matching distribution found for cv2、Could not find a version that satisfies the requirement lxml 解决方法

本文目录一览:

Fedora 33 ROS Noetic 'Could not find Boost (missing:python) (found version

Fedora 33 ROS Noetic 'Could not find Boost (missing:python) (found version "1.73.0")' 错误

如何解决Fedora 33 ROS Noetic ''Could not find Boost (missing:python) (found version "1.73.0")'' 错误

在尝试将 ROS Noetic 安装到 Fedora 33 时,我在本网站的步骤 2.1.2 中收到此错误。 http://wiki.ros.org/Installation/Source

  1. ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release

我得到的错误是:

  1. ==> Processing catkin package: ''cv_bridge''
  2. ==> Building with env: ''/home/kaanaytekin/ros_catkin_ws/install_isolated/env.sh''
  3. ==> cmake
  4. /home/kaanaytekin/ros_catkin_ws/src/vision_opencv/cv_bridge -DCATKIN_DEVEL_PREFIX=/home/kaanaytekin/ros_catkin_ws/devel_isolated/cv_bridge -DCMAKE_INSTALL_PREFIX=/home/kaanaytekin/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles in ''/home/kaanaytekin/ros_catkin_ws/build_isolated/cv_bridge''
  5. -- Using CATKIN_DEVEL_PREFIX: /home/kaanaytekin/ros_catkin_ws/devel_isolated/cv_bridge
  6. -- Using CMAKE_PREFIX_PATH: /home/kaanaytekin/ros_catkin_ws/install_isolated
  7. -- This workspace overlays: /home/kaanaytekin/ros_catkin_ws/install_isolated
  8. -- Using PYTHON_EXECUTABLE: /usr/bin/python3
  9. -- Using default Python package layout
  10. -- Using empy: /usr/lib/python3.9/site-packages/em.py
  11. -- Using CATKIN_ENABLE_TESTING: ON
  12. -- Call enable_testing()
  13. -- Using CATKIN_TEST_RESULTS_DIR: /home/kaanaytekin/ros_catkin_ws/build_isolated/cv_bridge/test_results
  14. -- Found gtest: gtests will be built
  15. -- Using Python nosetests: /usr/bin/nosetests-3.9
  16. -- catkin 0.8.9
  17. -- BUILD_SHARED_LIBS is on
  18. CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  19. Could NOT find Boost (missing: python) (found version "1.73.0")
  20. Call Stack (most recent call first):
  21. /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  22. /usr/share/cmake/Modules/FindBoost.cmake:2177 (find_package_handle_standard_args)
  23. CMakeLists.txt:14 (find_package)
  24. -- Configuring incomplete,errors occurred!
  25. See also "/home/kaanaytekin/ros_catkin_ws/build_isolated/cv_bridge/CMakeFiles/CMakeOutput.log".
  26. See also "/home/kaanaytekin/ros_catkin_ws/build_isolated/cv_bridge/CMakeFiles/CMakeError.log".
  27. <== Failed to process package ''cv_bridge'':
  28. Command ''[''/home/kaanaytekin/ros_catkin_ws/install_isolated/env.sh'',''cmake'',''/home/kaanaytekin/ros_catkin_ws/src/vision_opencv/cv_bridge'',''-DCATKIN_DEVEL_PREFIX=/home/kaanaytekin/ros_catkin_ws/devel_isolated/cv_bridge'',''-DCMAKE_INSTALL_PREFIX=/home/kaanaytekin/ros_catkin_ws/install_isolated'',''-DCMAKE_BUILD_TYPE=Release'',''-G'',''Unix Makefiles'']'' returned non-zero exit status 1.
  29. Reproduce this error by running:
  30. ==> cd /home/kaanaytekin/ros_catkin_ws/build_isolated/cv_bridge && /home/kaanaytekin/ros_catkin_ws/install_isolated/env.sh cmake /home/kaanaytekin/ros_catkin_ws/src/vision_opencv/cv_bridge -DCATKIN_DEVEL_PREFIX=/home/kaanaytekin/ros_catkin_ws/devel_isolated/cv_bridge -DCMAKE_INSTALL_PREFIX=/home/kaanaytekin/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G ''Unix Makefiles''
  31. Command Failed,exiting.
  32. [kaanaytekin@localhost ros_catkin_ws]$

CentOS

CentOS "libc.so.6: version ''GLIBC_2.14'' not found" 解决方法,同理 ''GLIBC_2.15'' not found"

出现 "libc.so.6: version ‘GLIBC_2.14’ not found" 问题,是由于 glibc 版本过低,升级 glibc 即可。

由于 CentOS 系统 RPM 源目前 glibc 最高版本是 2.12,所以只能采用源码升级

一、查看系统 glibc 支持的版本

strings /lib64/libc.so.6 |grep GLIBC
#查看当前glibc版本
ll /lib64/libc.so.6 
lrwxrwxrwx. 1 root root 12 Oct  9  2014 /lib64/libc.so.6 -> libc-2.12.so

二、下载 glibc 源码包

cd /usr/src/
wget http://mirror.bjtu.edu.cn/gnu/glibc/glibc-2.14.tar.gz
wget http://mirror.bjtu.edu.cn/gnu/glibc/glibc-ports-2.14.tar.gz      #glibc插件

三、解压安装升级 glibc

tar zxvf glibc-2.14.tar.gz
tar zxvf glibc-ports-2.14.tar.gz
mv glibc-ports-2.14 glibc-2.14/ports
mkdir build
cd build
../glibc-2.14/configure  --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
make -j4
make install

四、验证

查看当前系统 glibc 支持的版本

strings /lib64/libc.so.6 |grep GLIBC

五、误删 libc.so.6 解决办法

命令行执行如下:

#LD_PRELOAD=/lib/libc-2.12.so ln -s /lib/libc-2.12.so lib/libc.so.6

六、同理’GLIBC_2.15’ not found"

将上述流程中的 2.14 全部改成 2.15 就解决了’GLIBC_2.15’ not found" 报错的问题了。

composer 安装报错 root composer.json requires web/cors,it could not be found in any version

composer 安装报错 root composer.json requires web/cors,it could not be found in any version

执行 composer config -g --unset repos.packagist 去掉 composer 代理

Could not find a version that satisfies the requirement cv2 (from versions: ) No matching distribution found for cv2

Could not find a version that satisfies the requirement cv2 (from versions: ) No matching distribution found for cv2

root/anaconda3/bin/pip  install cv2
Collecting cv2
  Could not find a version that satisfies the requirement cv2 (from versions: )
No matching distribution found for cv2

 

Could not find a version that satisfies the requirement lxml 解决方法

Could not find a version that satisfies the requirement lxml 解决方法

Could not find a version that satisfies the requirement lxml 解决方法

参考文章:

(1)Could not find a version that satisfies the requirement lxml 解决方法

(2)https://www.cnblogs.com/ytkah/p/12332265.html


备忘一下。


今天关于Fedora 33 ROS Noetic 'Could not find Boost (missing:python) (found version "1.73.0")' 错误的分享就到这里,希望大家有所收获,若想了解更多关于CentOS "libc.so.6: version ''GLIBC_2.14'' not found" 解决方法,同理 ''GLIBC_2.15'' not found"、composer 安装报错 root composer.json requires web/cors,it could not be found in any version、Could not find a version that satisfies the requirement cv2 (from versions: ) No matching distribution found for cv2、Could not find a version that satisfies the requirement lxml 解决方法等相关知识,可以在本站进行查询。

本文标签: