Robotics StackExchange | Archived questions

Getting Gazebo 11 running on WSL2 on Windows 10

I'm trying to get Gazebo 11 up and running on WSL2 in Windows 10 (running Ubuntu 20.04), having followed these instructions. I get to the very end of the instructions and run gazebo, and subsequently get this error:

gzclient: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

Running this command dpkg -l | grep libqt5 I've verified that the QT5 libraries are all correctly installed:

ii libqt5core5a:amd64 5.12.8+dfsg-0ubuntu1 amd64 Qt 5 core module ii libqt5dbus5:amd64 5.12.8+dfsg-0ubuntu1 amd64 Qt 5 D-Bus module ii libqt5gui5:amd64 5.12.8+dfsg-0ubuntu1 amd64 Qt 5 GUI module ii libqt5network5:amd64 5.12.8+dfsg-0ubuntu1 amd64 Qt 5 network module ii libqt5opengl5:amd64 5.12.8+dfsg-0ubuntu1 amd64 Qt 5 OpenGL module ii libqt5svg5:amd64 5.12.8-0ubuntu1 amd64 Qt 5 SVG module ii libqt5widgets5:amd64 5.12.8+dfsg-0ubuntu1 amd64 Qt 5 widgets module

Running find /usr -name libQt5Core.so.5 yields /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.

Has anyone encountered this problem before with QT5 on WSL2 and found a solution ?

Asked by alex.marshall.peg on 2020-07-14 16:35:00 UTC

Comments

Answers

This can be solution. You can sent me an e-mail, semihbeycimen@gmail.com

sudo strip --remove-section=.note.ABI-tag /usr/lib64/libQt5Core.so.5

or

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

Asked by semih on 2021-02-16 11:51:17 UTC

Comments