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

GLIBC the plugin is built with is too new #48

Open
Zeks opened this issue Dec 8, 2024 · 10 comments
Open

GLIBC the plugin is built with is too new #48

Zeks opened this issue Dec 8, 2024 · 10 comments

Comments

@Zeks
Copy link

Zeks commented Dec 8, 2024

It's not possible to use the plugin on older linux distributions because it requires glibc version that they simply do not have despite qtcreator 15 working just fine. It's quite possible that it's an oversight than actual requirement to have it.

@Palm1r
Copy link
Owner

Palm1r commented Dec 8, 2024

Qt Creator 15 works but plugin not? correct?

@Zeks
Copy link
Author

Zeks commented Dec 8, 2024

image

yes, creator itself works just fine. this error message is a symptom of a lib that was built on a cutting edge glibc, seen this a ton of times. you need to build on a reasonably old glibc to support people running it who aren't running the newest systems

@Palm1r
Copy link
Owner

Palm1r commented Dec 8, 2024

I use template for creating QtCreator plugin from Qt Creator 15 and Qt Creator binaries that Qt shared. As far as I remember they are for rhel_8.10. Maybe in my github actions some errors and would be wonderful to fix it. You can check it. If not, I don't have resources to make separate build system and create everything manually for old stuff.

@scoute
Copy link

scoute commented Dec 24, 2024

I have the same problem.
I use Debian 11 (GLIBC_2.31) and Qt Creator 15 works well on it, but the plugin crashes with a high glibc version error (GLIBC_2.38).

As far as I know, the glibc version of build is inherited from the operating system, not Qt Creator.

P.S.
I want to compile this plugin on Debian 11, but I don't understand how ((
Readme instructions do not contain an example.

P.P.S.
It would be nice to compile the plugin directly from Qt Creator ))

@Palm1r
Copy link
Owner

Palm1r commented Dec 24, 2024

@scoute make fork and change in github action platform to ubuntu 22.04. Check released binaries.
Like that, #56, but I can't check on OS

@Palm1r
Copy link
Owner

Palm1r commented Dec 25, 2024

@scoute @Zeks please try to use this
QodeAssist-15.0.0-Linux-x64.7z.zip
I built for ubuntu 22.04

@scoute
Copy link

scoute commented Dec 31, 2024

Great thanks!
But ubuntu 22.04 is too new also )) the same error.
Debian 11 = ubuntu 20.04. Can you?

@hellowheat
Copy link

Thank you for your sharing, it’s been incredibly helpful to me. I’m currently helping our project team integrate AI into an offline intranet environment. However, our company is using very old systems, including: qtcreator 4.6.0, CentOS 7, and glibc 2.17. I have already deployed Ollama and Qwen, and I can interact with them. Now I’m trying to learn and modify your code, hoping to use it with qtcreator 4.6.0. But this environment is really old, and I’m not confident about succeeding 😂.

In any case, I’m very grateful for your sharing (really, really grateful—without it, I’d have to start from scratch with an empty project). If I succeed, I will let you know as soon as possible. ❤❤❤

@Palm1r
Copy link
Owner

Palm1r commented Jan 4, 2025

@hellowheat Thank you for your kind words, it's nice to hear.

@Tezcan98
Copy link

Tezcan98 commented Feb 3, 2025

I had the same error before with Ubuntu 20.04 and Centos 8.5. As a solution, when I built the code myself, the error was resolved. If your project is offline, you can build it from a virtual machine connected to the internet. If you wish, I can even upload my own .so file as a pull request. But I'm not sure if the qt versions are compatible, I used qt 6.8.

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

No branches or pull requests

5 participants