0
$\begingroup$

Rosanswers logo

Hi, i'm trying to learn ROS and I am following the tutorial http://wiki.ros.org/it/ROS/Tutorials/UnderstandingNodes. When I reach part 1.7 I use rosrun but it returns an error:

rosrun turtlesim turtlesim_node
/opt/ros/noetic/lib/turtlesim/turtlesim_node: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

I am using the Ubuntu app (version 2004.2021.222.0) for Windows 10 (version 2004 build SO 19041.508) with Noetic.


Originally posted by Simone Diomede on ROS Answers with karma: 3 on 2021-06-29

Post score: 0


Original comments

Comment by AmirSaman on 2021-06-29:
Hi Simone, just to clarify you are running Ubuntu OS 20.04 on a virtualizer such as Oracle VM VirtualBox or vmware workstation and you managed to install ROS Neotic sucsessfully and when you are running

roscd turtlesim

in terminal you will be directed to the package location right ?

Have you seen this link ?

they used

sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so

and managed to solve the problem

Comment by Simone Diomede on 2021-06-29:
Yes, thank you. That sudo command solved my issue.

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

There is an open issue related to this on WSL GitHub. This StackOverflow answer mentions the steps that should solve the problem. Run them with sudo inside your Ubuntu environment.

In another answer as well, sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 seems to have solved the issue.


Originally posted by trunc8 with karma: 156 on 2021-06-29

This answer was ACCEPTED on the original site

Post score: 1


Original comments

Comment by Simone Diomede on 2021-06-29:
The sudo command worked for me, thank you.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.