ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

No rule to make target '/usr/lib/x86_64-linux-gnu/libpython3.9.so',

asked 2022-03-06 21:13:58 -0500

ijnek gravatar image

updated 2022-03-06 21:30:08 -0500

Rolling CI for RQt Image Overlay is failing on ROS Buildfarm with error message:

23:10:11 --- stderr: rqt_image_overlay
23:10:11 gmake[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libpython3.9.so', needed by 'librqt_image_overlay.so'.  Stop.
23:10:11 gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/rqt_image_overlay.dir/all] Error 2
23:10:11 gmake: *** [Makefile:146: all] Error 2
23:10:11 ---

Ealier in the output of CMake, Python3.10 is found:

23:10:11 -- Found Python3: /usr/bin/python3.10 (found version "3.10.2") found components: Interpreter

Ubuntu Jammy is transitioning to Python3.10, so I don't quite know which package is forcing libpython3.9.so to be looked for.

EDIT: It seems that many other packages are also failing the same error, many from ros2 core libraries too:

edit retag flag offensive close merge delete

Comments

Rufus gravatar image Rufus  ( 2022-03-08 05:11:27 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2022-05-09 08:06:19 -0500

ijnek gravatar image

This issue has been resolved after ROS2 Rolling properly transitioned to Ubuntu Jammy .

edit flag offensive delete link more
0

answered 2023-02-22 01:18:30 -0500

GIellamo gravatar image

I have a similar problem directly on humble but with 3.10 vs 3.10

Even if

-- Found Python3: /usr/bin/python3.10 (found version "3.10.6") found components: Interpreter

I get

*** No rule to make target '/usr/lib/aarch64-linux-gnu/libpython3.10.so', needed by 'my_node'.

The difference is that I am cross compiling but not sure if this is the problem.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-03-06 21:13:58 -0500

Seen: 1,898 times

Last updated: May 09 '22