GLIBC-2.27 not found
Answered
I'm using IntelliJ IDEA 2025.2 on CentOS 7.9.
Upon startup, I encounter the following error:
Cannot start the runtime
Caused by:
0: Failed to load 'libjvm.so'
1: /usr/lib64/libm.so.6: version `GLIBC_2.27' not found (required by /local/***/ideaIC-252.223892.409/jbr/lib/server/libjvm.so)
I don't have root permissions, but I do have access to glibc-2.27. I tried setting LD_LIBRARY_PATH and modifying idea's rpath, but neither approach worked.
Is there any workaround or recommended solution for this situation?
Please sign in to leave a comment.
https://youtrack.jetbrains.com/articles/SUPPORT-A-33/Cannot-start-the-IDE-Cannot-start-the-runtime-with-0-Failed-to-load-libjvm
Unfortunately, this workaround doesn't apply.
The linked solution addresses a JDK mismatch, but my logs confirm that the bundled JetBrains Runtime (JBR) is already being used.
I downloaded the glibc 2.27 source code and compiled it to
/local/***/glibc2.27.I set
LD_LIBRARY_PATHto/local/***/glibc2.27:$LD_LIBRARY_PATHand also usedpatchelf --set-rpath /local/***/glibc2.27/lib idea.And
ldd --versionreportsldd (GNU libc) 2.17.Thanks!!!!
https://youtrack.jetbrains.com/articles/SUPPORT-A-33/Cannot-start-the-IDE-Cannot-start-the-runtime-with-0-Failed-to-load-libjvm geometry dash
Someone made it in below blog
https://blog.51cto.com/ting0119/13815148
I found the solution — I had missed the
--set-interpreterstep. After adding it, the "glibc 2.27 not found" error no longer appears.