Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 2021 09:29:28 -0300
From:      =?UTF-8?Q?S=c3=a9rgio_Siegrist?= <barulheira@gmail.com>
To:        java@FreeBSD.org
Subject:   java/openjdk17: Undefined symbol "hb_face_create_for_tables" in GTK2
Message-ID:  <dcceebfb-ba49-ee18-1a64-844c04251798@gmail.com>

next in thread | raw e-mail | index | archive | help
NetBeans IDE 12.5 enabled GTK3 support for its GUI. Until then, the 
following flag was required to enable GTK2:
-J-Djdk.gtk.version=2.2

Right now, NetBeans 12.5 + openjdk17 open the GUI in GTK3. But it's 
ugly. I prefer GTK2.

But...

NetBeans 12.5 + openjdk17 + GTK2 yields the following:
ld-elf.so.1: /usr/local/openjdk17/lib/libfontmanager.so: Undefined 
symbol "hb_face_create_for_tables"

And the GUI crashes.

- No problem at all with openjdk16.

- No problem at all with GTK3.

Hence, it seems specific to openjdk17 + GTK2.

(Tested on openjdk17 built locally by ports, FreeBSD 13.0-RELEASE-p4 amd64)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dcceebfb-ba49-ee18-1a64-844c04251798>