Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The problem is that udev run as root and don't have the /opt/ros/dist/lib in his shared object path. I did :

pi@raspberrypi:~ $ /opt/ros/melodic/lib/urg_node/getID /dev/ttyACM0 q
pi@raspberrypi:~ $ su
Mot de passe :
root@raspberrypi:/home/pi# /opt/ros/melodic/lib/urg_node/getID /dev/ttyACM0 q
/opt/ros/melodic/lib/urg_node/getID: error while loading shared libraries: cannot open shared object file: No such file or directory
root@raspberrypi:/home/pi# cd /opt/ros/melodic/lib/
root@raspberrypi:/opt/ros/melodic/lib# ldconfig /opt/ros/melodic/lib/
root@raspberrypi:/opt/ros/melodic/lib# /opt/ros/melodic/lib/urg_node/getID /dev/ttyACM0 q