roscore fails at the start : error while loading shared libraries: libboost_thread.so.1.71.0: cannot open shared object file
Does anyone have any idea why the roscore
fails at the start because of a strange library error? This never happened to me and it is a very strange error:
emanuele@emanuele-pc:~/catkin_ws$ roscore
... logging to /home/emanuele/.ros/log/314803bc-e693-11eb-8045-e7251890027b/roslaunch-emanuele-pc-37486.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://emanuele-pc:37381/
ros_comm version 1.15.11
SUMMARY
========
PARAMETERS
* /rosdistro: noetic
* /rosversion: 1.15.11
NODES
auto-starting new master
process[master]: started with pid [37496]
ROS_MASTER_URI=http://emanuele-pc:11311/
setting /run_id to 314803bc-e693-11eb-8045-e7251890027b
process[rosout-1]: started with pid [37506]
/opt/ros/noetic/lib/rosout/rosout: error while loading shared libraries: libboost_thread.so.1.71.0: cannot open shared object file: No such file or directory
started core service [/rosout]
[rosout-1] process has died [pid 37506, exit code 127, cmd /opt/ros/noetic/lib/rosout/rosout __name:=rosout __log:=/home/emanuele/.ros/log/314803bc-e693-11eb-8045-e7251890027b/rosout-1.log].
log file: /home/emanuele/.ros/log/314803bc-e693-11eb-8045-e7251890027b/rosout-1*.log
Thanks for shedding light on what is happening here.
Comments
- What OS and version are you using?
- What version of libboost is installed?