Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin cannot be loaded #475

Closed
3 of 4 tasks
HowardWhile opened this issue Dec 28, 2022 · 3 comments · Fixed by #477
Closed
3 of 4 tasks

Plugin cannot be loaded #475

HowardWhile opened this issue Dec 28, 2022 · 3 comments · Fixed by #477

Comments

@HowardWhile
Copy link

HowardWhile commented Dec 28, 2022

Hi there,
When I import the plugin and restart qt creator, I got an error message like this...

image

/home/user/.local/share/data/QtProject/qtcreator/plugins/9.0.1/lib/qtcreator/plugins/libROSProjectManager.so: Cannot load library /home/user/.local/share/data/QtProject/qtcreator/plugins/9.0.1/lib/qtcreator/plugins/libROSProjectManager.so: (/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/user/.local/share/data/QtProject/qtcreator/plugins/9.0.1/lib/qtcreator/plugins/libROSProjectManager.so))

This is my system infomation
Ubuntu 20.04
Qt Creator 9.0.1
ros_qtc_plugin 9.0

I have tried below versions and only ros_qtc_plugin 9.0 have problem.

  • Qt Creator 6.0.2 + ros_qtc_plugin 0.5.0
  • Qt Creator 7.0.2 + ros_qtc_plugin 0.6.0
  • Qt Creator 8.0.2 + ros_qtc_plugin 8.1
  • Qt Creator 9.0.1 + ros_qtc_plugin 9.0

Maybe I have to make & install GLIBC or update my ubuntu?

@christian-rauch
Copy link
Member

I assume you use the "official" binary distribution of Qt Creator installed by the Qt installer and the plugin from the binary release artefacts?

The problem is here version `GLIBC_2.32' not found, which is probably caused by the different systems where Qt Creator and the plugin are compiled. The binary distribution of the plugin is compiled on ubuntu-latest, which is Ubuntu 22.04 at the moment.

I have to look into how to resolve this problem. This is possible since the official binary Qt Creator distribution also works on different Linux distributions.

In the meantime, I suggest you use the Qt Creator snap package which contains Qt Creator and a compatible plugin.

@HowardWhile
Copy link
Author

Thanks for your advice.

Now I use the following environment:
Ubuntu 22.04
Qt Creator 9.0.1
ros_qtc_plugin 9.0

Can be used normally~

@christian-rauch
Copy link
Member

I downgraded the Ubuntu version in the CI pipeline (#477). If you still want to use the latest version from the online installer you can try the Linux build artefact from that PR.

There will be a new release once this is merged and you will be able to use the official installation instructions again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants