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

Module failed to load (version `GLIBC_2.17' not found) #127

Open
GiovaniFerraroTrivelli opened this issue Jul 12, 2019 · 11 comments
Open

Module failed to load (version `GLIBC_2.17' not found) #127

GiovaniFerraroTrivelli opened this issue Jul 12, 2019 · 11 comments
Labels
bug Something isn't working

Comments

@GiovaniFerraroTrivelli
Copy link

Hello!

I was trying to upload the module on my server but I get the following error:

L 07/12/2019 - 16:04:59: [AMXX] Module "cstrike/addons/amxmodx/modules/grip_amxx_i386.so" failed to load (/lib/libc.so.6: version `GLIBC_2.17' not found (required by cstrike/addons/amxmodx/modules/grip_amxx_i386.so))
L 07/12/2019 - 16:04:59: Error:
L 07/12/2019 - 16:04:59: [AMXX] Module is not a valid library (file "cstrike/addons/amxmodx/modules/grip_amxx_i386.so")

I know this is because the OS that my server is running is too old, but I don't have any way to update it because I am using a shared hosting. I had the same problem with an old AmxxCurl version but the project owner fixed that.

I tried to recompile using an old GLIBC but I give up without results :( Is there a way to fix this without problems?

Thanks!

@In-line
Copy link
Owner

In-line commented Jul 13, 2019

Hi. I will investigate possible solution with MUSL libc, but I don't really know whether it will work out.

@In-line
Copy link
Owner

In-line commented Jul 13, 2019

Last release lowers requirement to GLIBC 2.4. Test it out.

@GiovaniFerraroTrivelli
Copy link
Author

Tested but I have the same problem.

L 07/13/2019 - 15:41:57: [AMXX] Module "cstrike/addons/amxmodx/modules/grip_amxx_i386.so" failed to load (/lib/libc.so.6: version `GLIBC_2.17' not found (required by cstrike/addons/amxmodx/modules/grip_amxx_i386.so))
L 07/13/2019 - 15:41:57: Error:
L 07/13/2019 - 15:41:57: [AMXX] Module is not a valid library (file "cstrike/addons/amxmodx/modules/grip_amxx_i386.so")
L 07/13/2019 - 15:41:57: [AMXX] Plugin "testgrip.amxx" failed to load: Module/Library "grip" required for plugin.  Check modules.ini.

It seems strange that you recompiled it for glibc 2.4 and it still doesn't work anyway. AmxxCurl works with 2.12 so grip should work too. Sorry for the inconveniences.

@In-line
Copy link
Owner

In-line commented Jul 13, 2019

@GiovaniFerraroTrivelli I think static compiling with MUSL libc is the only option. I will do it in my free time. Anyway. AmxxCurl and GRIP are very different projects.

GRIP isn't tested or developed for ancient systems. Glibc 2.4 was released 13 years ago. I can't recompile it for glibc 2.4, because underlying Rust standard library seems to use the newest available APIs.

I just removed OpenSSL dependency in the hope, that it will help with issue. It seems to be easy to use MUSL libc with Rust, because there are already tested Docker images which compile it for you. Such as https://github.com/emk/rust-musl-builder

But I think it will anyway consume time to integrate it in existing CMake script and configure build caching.

@GiovaniFerraroTrivelli
Copy link
Author

After many hours of testing, finally I could compile GRIP and run it into my server, but different errors appeared after that (which is logic).

Never mind. I think I will change to another hosting in the next year (if it's possible, to a dedicated server) so I will be able to install GRIP. It is sad that all of my ideas with REST will have to wait. haha.

Thanks and sorry for all the problems!

@In-line
Copy link
Owner

In-line commented Jul 23, 2019

@GiovaniFerraroTrivelli Try this out, from #131
I didn't tested it, but should work.

grip_amxx_i386.zip

@GiovaniFerraroTrivelli
Copy link
Author

Yes! It works perfectly!! Great job, thanks!

@In-line
Copy link
Owner

In-line commented Jul 23, 2019 via email

@GiovaniFerraroTrivelli
Copy link
Author

GiovaniFerraroTrivelli commented Jul 23, 2019

I know that haha, but you are lucky 😁 I have been testing since I commented 4 hours ago and no problem has occurred.

My hosting is horrible (but it's the only one from my country), so this isn't an option.

@GiovaniFerraroTrivelli
Copy link
Author

And now I have a problem 😥

I restarted the server where I was testing and this appeared on console:

L 07/24/2019 - 01:43:29: [AMXX] Module "cstrike/addons/amxmodx/modules/grip_amxx_i386.so" failed to load (/lib/libc.so.6: version `GLIBC_2.18' not found (required by cstrike/addons/amxmodx/modules/grip_amxx_i386.so))
L 07/24/2019 - 01:43:29: Error:
L 07/24/2019 - 01:43:29: [AMXX] Module is not a valid library (file "cstrike/addons/amxmodx/modules/grip_amxx_i386.so")

The most curious thing is that until a few minutes ago all worked excellent, I restarted the server and this happens :(

(I was testing all the day... I think I'm not crazy... 😟)

@GiovaniFerraroTrivelli
Copy link
Author

Updating.

I migrated to another hosting (now a dedicated server) and now I can use grip. Sorry for not updating this before, but it was a lot of work to migrate 20 servers 😁

I am very happy for this. Again, thanks for all your hard work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants