PilzDE / pilz_industrial_motion

Industrial trajectory generation for MoveIt!.
https://wiki.ros.org/pilz_industrial_motion
120 stars 37 forks source link

melodic-ros-base installation: Could not load library...libeigen_conversions.so #110

Closed rbaur451 closed 5 years ago

rbaur451 commented 5 years ago

Commit

ros-melodic-pilz-trajectory-generation 0.4.1-1bionic.20190302.180259 armhf

Steps to reproduce

How can the issue/bug be reproduced?

  1. sudo apt install ros-melodic-ros-base
  2. roslaunch prbt_moveit_config moveit_planning_execution.launch pipeline:=pilz_command_planner

Observed behavior

Error string: Could not load library (Poco exception = libeigen_conversions.so: cannot open shared object file: No such file or directory

Solution

sudo apt install libtf-conversions-dev

Reference to test

If there is no test that can detect the issue/bug, please create one and reference it here.

jschleicher commented 5 years ago

The ros package ros-melodic-eigen-conversions seems to contain that .so as well. Please try to remove libtf-conversions-dev and install ros-melodic-eigen-conversions.

dpkg-query -L ros-melodic-eigen-conversions
/.
/opt
/opt/ros
/opt/ros/melodic
/opt/ros/melodic/include
/opt/ros/melodic/include/eigen_conversions
/opt/ros/melodic/include/eigen_conversions/eigen_kdl.h
/opt/ros/melodic/include/eigen_conversions/eigen_msg.h
/opt/ros/melodic/lib
/opt/ros/melodic/lib/libeigen_conversions.so
/opt/ros/melodic/lib/pkgconfig
/opt/ros/melodic/lib/pkgconfig/eigen_conversions.pc
...

The fix would then be to make eigen_conversions a run_depend in pilz_trajectory_generation.

rbaur451 commented 5 years ago

Removed the libtf-conversions-dev package and installed ros-melodic-eigen-conversions. The solution works fine.