Skip to content

File lib/libfreetype.so not found in 17.0.11 #616

Closed

Description

I just rebuilt the Docker image of my Java microservice using Microsoft OpenJDK image tag 17-ubuntu, which now references OpenJDK version 17.0.11 rather than 17.0.8 which I was using earlier, and I find that lib/libfreetype.so is no longer included in Microsoft OpenJDK 17.

Command:

docker container run --rm mcr.microsoft.com/openjdk/jdk:17-ubuntu ls -l /usr/lib/jvm/msopenjdk-17-amd64/lib

Results:

total 143588
-rw-r--r-- 1 root root     71443 Apr  9 21:52 classlist
-rw-r--r-- 1 root root   8264052 Apr 10 06:14 ct.sym
-rwxr-xr-x 1 root root     13152 Apr  9 21:52 jexec
drwxr-xr-x 2 root root      4096 Jul  1 09:23 jfr
-rw-r--r-- 1 root root    110489 Apr 10 06:14 jrt-fs.jar
-rwxr-xr-x 1 root root     18416 Apr  9 21:52 jspawnhelper
-rw-r--r-- 1 root root        29 Apr  9 21:52 jvm.cfg
-rw-r--r-- 1 root root     13456 Apr  9 21:52 libattach.so
-rw-r--r-- 1 root root     39136 Apr  9 21:52 libawt_headless.so
-rw-r--r-- 1 root root    900448 Apr  9 21:52 libawt.so
-rw-r--r-- 1 root root    474600 Apr  9 21:52 libawt_xawt.so
-rw-r--r-- 1 root root     28296 Apr  9 21:52 libdt_socket.so
-rw-r--r-- 1 root root     13480 Apr  9 21:52 libextnet.so
-rw-r--r-- 1 root root   2725752 Apr  9 21:52 libfontmanager.so
-rw-r--r-- 1 root root     50976 Apr  9 21:52 libinstrument.so
... (omitted for brevity)

If the lib/libfreetype.so file is really removed in some newer patch version after 17.0.8, I'd like to know why.
Unforuntately I don't think it is mentioned in any release notes.
And unfortunately, Microsoft does not provide image tag to certain patch versions of their OpenJDK, so it is not possible for me to show a comparison.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions