Help Center/ Application Performance Management/ FAQs(2.0)/ Profiler FAQs/ Why Is "libz.so.1: version `ZLIB_1.2.9' not found" Displayed?
Updated on 2026-07-29 GMT+08:00

Why Is "libz.so.1: version `ZLIB_1.2.9' not found" Displayed?

Symptom

Error: java.lang.UnsatisfiedLinkError: /jre/lib/amd64/libfontmanager.so: /apm-javaagent-profiler/apm-javaagent/native-agent/x86/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib64/libpng16.so.16)

This error occurs in the service log when the service program calls the method in libfontmanager.so of JDK. This .so depends on the libz.so.1 of version 1.2.9, which is incompatible with the libz.so.1 version in javaagent.

Solution

  1. Manually delete the libz.so.1 file from javaagent. In this way, the service program uses the libz.so.1 file in the system directory.
  2. Upgrade the Agent version to 2.4.14-profiler or later.