Robotics StackExchange | Archived questions

ros2 unable to find _rclpy_pybind11.cpython-38-arm-linux-gnueabi.so on meta-ros galactic on dunfell

I've been trying to get meta-ros-galactic on a dunfell yocto confing for a Beaglebone Black board. The system boots fine, however, when I run a command such as ros2 topic list, I get the following error message:

root@beaglebone:~# ros2 topic list Failed to load entry point 'list': No module named 'rclpy._rclpy_pybind11' The C extension '/usr/lib/python3.8/site-packages/_rclpy_pybind11.cpython-38-arm-linux-gnueabi.so' isn't present on the system.

The file _rclpy_pybind11.cpython-38-x86_64-linux-gnu.so exists in /usr/lib/python3.8/site-packages/rclpy, and running file on it tells me it's compiled for ARM, even if the filename shows x86_64. Are these files not generating correctly because of my yocto config?

Asked by rom01 on 2021-07-11 03:45:25 UTC

Comments

Answers

Did I fix this problem deleting the folders build, install and log and compiling again. With me the problem was that first time I compile the code I do a source to ros foxy version instance of galactic.

Asked by TheLastImperial on 2022-05-26 11:09:21 UTC

Comments