Problem with "qt_gui_cpp" while installing ros-noetic on fedora36

asked 2022-10-12 18:53:13 -0500

elzlociako gravatar image

updated 2022-10-14 05:18:35 -0500

ravijoshi gravatar image

Hello, I am trying to install ROS Noetic on Fedora 36. Unfortunately, I am getting the following error while building qt_gui_cpp. Please help.

[ 84%] Built target qt_gui_cpp
[ 89%] Compiling generated code for qt_gui_cpp_sip Python bindings...
/usr/bin/ld: cannot open linker script file /builddir/build/BUILD/sip-4.19.25/.package_note-sip-4.19.25-3.fc36.x86_64.ld: No such file or directory
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:38: "/home/szymon/ros_catkin_ws/devel/.private/qt_gui_cpp/lib/python3.10/site-packages/qt_gui_cpp/libqt_gui_cpp_sip".so] Error 1
make[2]: *** [src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/build.make:74: /home/szymon/ros_catkin_ws/devel/.private/qt_gui_cpp/lib/python3.10/site-packages/qt_gui_cpp/] Error 2
make[1]: *** [CMakeFiles/Makefile2:337: src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
edit retag flag offensive close merge delete


It seems that the error is coming while compiling qt_gui_cpp_sip. Can you please install sip first? A similar question was posted long back #q266718 , but no response.

ravijoshi gravatar image ravijoshi  ( 2022-10-14 05:24:52 -0500 )edit