Ask Your Question
0

rosrun turtlesim turtlesim_node error while loading shared libraries

asked 2021-06-29 02:56:08 -0600

Hi, i'm trying to learn ROS and I am following the tutorial http://wiki.ros.org/it/ROS/Tutorials/.... 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.

edit retag flag offensive close merge delete

Comments

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

AmirSaman gravatar image AmirSaman  ( 2021-06-29 04:22:50 -0600 )edit

Yes, thank you. That sudo command solved my issue.

Simone Diomede gravatar image Simone Diomede  ( 2021-06-29 06:42:59 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-06-29 04:28:36 -0600

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.

edit flag offensive delete link more

Comments

The sudo command worked for me, thank you.

Simone Diomede gravatar image Simone Diomede  ( 2021-06-29 06:43:34 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-06-29 02:56:08 -0600

Seen: 68 times

Last updated: Jun 29