在本文中,我们将带你了解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 "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 "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
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
我得到的错误是:
==> Processing catkin package: ''cv_bridge''
==> Building with env: ''/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 in ''/home/kaanaytekin/ros_catkin_ws/build_isolated/cv_bridge''
-- Using CATKIN_DEVEL_PREFIX: /home/kaanaytekin/ros_catkin_ws/devel_isolated/cv_bridge
-- Using CMAKE_PREFIX_PATH: /home/kaanaytekin/ros_catkin_ws/install_isolated
-- This workspace overlays: /home/kaanaytekin/ros_catkin_ws/install_isolated
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using default Python package layout
-- Using empy: /usr/lib/python3.9/site-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/kaanaytekin/ros_catkin_ws/build_isolated/cv_bridge/test_results
-- Found gtest: gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-3.9
-- catkin 0.8.9
-- BUILD_SHARED_LIBS is on
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find Boost (missing: python) (found version "1.73.0")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindBoost.cmake:2177 (find_package_handle_standard_args)
CMakeLists.txt:14 (find_package)
-- Configuring incomplete,errors occurred!
See also "/home/kaanaytekin/ros_catkin_ws/build_isolated/cv_bridge/CMakeFiles/CMakeOutput.log".
See also "/home/kaanaytekin/ros_catkin_ws/build_isolated/cv_bridge/CMakeFiles/CMakeError.log".
<== Failed to process package ''cv_bridge'':
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.
Reproduce this error by running:
==> 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''
Command Failed,exiting.
[kaanaytekin@localhost ros_catkin_ws]$
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 config -g --unset repos.packagist 去掉 composer 代理
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 解决方法
参考文章:
(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 解决方法等相关知识,可以在本站进行查询。
本文标签: