[#12711] - unsatisfied link error amd64/libfontmanager.so: libpng12.so.0: cannot open shared object file: No such file or directory at

Category:
Bug report
Priority:
Urgent
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

We are getting a unsatisfied link error during report generation from JRXML micro service running in pivotal cloud foundry which is spring boot app.
I would like to know if you can suggest a solution.

We are using the following version of Jasper.

jasperreport 6.12.2
jasperreport-font 6.12.2
itext 2.1.7

-----
Environment

Stack - cflinuxfs3
OS - Ubuntu 18.04
Pivotal Cloud foundry container 2.5.6
Spring boot 2 application
buildpacks: citi_java_4_23_0_81 ( JRE 1.8.0_232 )

Jasper library not able to pick libpng16.so ( recent fontconfig native lib in ubuntu/ JRE) and throws following error.

libfontmanager.so: libpng12.so.0: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)

It seem Jasper libs looking for libpng12.so.0 instead of libpng16.so

Can you shed some light on this issue and share some pointers? It will really be helpful.

Please revert for any queries or clarification.

Thanks,
Nanda

v6.12.2
jasper library
nandagopal.radhakrishnan's picture
Joined: Apr 3 2020 - 12:10am
Last seen: 1 year 8 months ago
Feedback
randomness