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.I don't have root permissions, but I do have access to
glibc-2.27. I tried settingLD_LIBRARY_PATHand modifying idea'srpath, but neither approach worked. Baseball BrosThat's also why the LD_LIBRARY_PATH and rpath changes didn't help. glibc and its dynamic loader (ld-linux.so) are a matched pair, and the runtime is linked against the system glibc. Pointing those at a newer libc copy usually crashes the process rather than loading it, so you can't inject a newer glibc this way without root-level changes to the machine.
Since you don't have root, a few things that work without changing the system glibc:
1. Use an older IDE build. Versions 2024.3 and earlier were built against the older glibc requirement, so they should start on your machine. You can install one without root by extracting the .tar.gz into your home directory and running bin/idea.sh. Older builds are listed on the JetBrains download page under previous/other versions.
2. Use Remote Development. Run the IDE backend on a host that has glibc 2.28 or newer and connect to it from your current machine with the lightweight client. Your old-glibc machine only runs the client.
3. If you can get the machine upgraded later, the real fix is a distribution that ships glibc 2.28 or newer.
You can read more about the requirement here:
- System requirements: https://www.jetbrains.com/help/idea/2025.3/installation-guide.html#requirements
- Background on the change: https://blog.jetbrains.com/idea/2025/01/updated-system-requirements-for-linux-gnu-c-library-glibc/