/
ERROR - version `GLIBC_2.27' not found

ERROR - version `GLIBC_2.27' not found

 Problem

Observed the following error during the HiveMQ startup

ERROR - java.lang.UnsatisfiedLinkError: /tmp/javet/3413/libjavet-v8-linux-x86_64.v.3.1.8.so: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /tmp/javet/3413/libjavet -v8-linux-x86_64.v.3.1.8.so) at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method) at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445) at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501) at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700) ... ERROR - Failed to load Javet lib with error Javet library is not loaded because <null>. ERROR - com.caoccao.javet.exceptions.JavetException: Javet library is not loaded because <null>

 Solution

To resolve this, you have the following options:

  1. Upgrade the glibc version – This ensures compatibility with the latest system requirements.

  2. Disable Datahub scripting – If datahub scripting is not essential for your use case, disabling it will resolve the issue. https://docs.hivemq.com/hivemq/latest/data-hub/quick-start.html#configuration



 

Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu.

 Related articles