library not found when starting youbot_driver_ros_interface
Hello,
I have a youbot running Ubuntu 12.04 LTS and ROS Hydro. I installed the ros-hydro-youbot-driver
and ros-hydro-youbot-driver-ros-interface packages
. When I try to start the ros driver using roslaunch youbot_driver_ros_interface youbot_driver.launch
I get the following error message which relates to [1]
core service [/rosout] found
/opt/ros/hydro/lib/youbot_driver_ros_interface/youbot_driver_ros_interface: error while loading shared libraries: process[youbot_driver-1]: started with pid [3765]
libtf.so: cannot open shared object file: No such file or directory
[youbot_driver-1] process has died [pid 3765, exit code 127, cmd /opt/ros/hydro/lib/youbot_driver_ros_interface/youbot_driver_ros_interface base/joint_states:=joint_states arm_1/joint_states:=joint_states __name:=youbot_driver __log:=/home/youbot/.ros/log/cb1447ea-9df2-11e3-9357-0022697f602c/youbot_driver-1.log].
log file: /home/youbot/.ros/log/cb1447ea-9df2-11e3-9357-0022697f602c/youbot_driver-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
Note that before I got this error message I also had a different problem with the package: I had to set the ethernet capabilites like described in the building from source section (2.2.2) here: [2] This might be a bug or could be related to this error.
After executing ldconfig /opt/ros/hydro/lib
I now get the following error message:
[ INFO] [1393319937.340360990]: Configuration file path: /opt/ros/hydro/share/youbot_driver/config
[ INFO] [1393319937.364843922]: Initializing EtherCAT on eth0 with communication thread
[FATAL] [1393319937.388841667]: No EtherCAT slaves found!
[ERROR] [1393319937.389182353]: Base "youbot-base" could not be initialized.
[ INFO] [1393319937.389486163]: Configuration file path: /opt/ros/hydro/share/youbot_driver/config
[FATAL] [1393319937.392086845]: No socket connection on eth0
Excecute as root
[ERROR] [1393319937.392452185]: Arm "youbot-manipulator" could not be initialized.
[ INFO] [1393319937.392667785]: System has 0 initialized arm(s).
[ WARN] [1393319937.393588013]: ../config/youbot-ethercat.cfg file not found
terminate called after throwing an instance of 'youbot::FileNotFoundException'
what(): ../config/youbot-ethercat.cfg file not found
[youbot_driver-1] process has died [pid 5955, exit code
adding export LD_LIBRARY_PATH="/opt/ros/hydro/lib/libtf.so" to zshrc/bashrc also didn't help.