Re: problem with swt4-gtk update
- To: Emmanuel Bourg <ebourg@apache.org>
- Cc: Debian Java <debian-java@lists.debian.org>, Jakub Adam <jakub.adam@ktknet.cz>
- Subject: Re: problem with swt4-gtk update
- From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
- Date: Tue, 29 Dec 2020 00:07:37 +0000
- Message-id: <[🔎] CADVatmMosuB9dTXk9Maj6-Kaov-ywfqmwtifeD2QQm1o_=Kx+w@mail.gmail.com>
- In-reply-to: <[🔎] CADVatmMpF9CvyVBm7+5RbCeD12dHrrDSAVREd+7V_1bn3SiJFA@mail.gmail.com>
- References: <[🔎] CADVatmMpF9CvyVBm7+5RbCeD12dHrrDSAVREd+7V_1bn3SiJFA@mail.gmail.com>
Hi Emmanuel, On Mon, Dec 28, 2020 at 10:33 PM Sudip Mukherjee <sudipm.mukherjee@gmail.com> wrote: > > Hi Emmanuel, > > With the latest update of swt4-gtk to 4.18.0-1 I am seeing a problem > in loading the library. After a little debugging it seems its not > finding a symbol. > > /usr/lib/jni/libswt-pi3-gtk-4940r23.so: undefined symbol: > gdk_texture_new_from_file > > Then it tries to find "/usr/lib/jni/libswt-pi4-gtk.so" which is not > present and so the application fails. > > Any ideas? 'gdk_texture_new_from_file' is from gtk4 and the below patch will fix the problem. Do you want me to go ahead with this change ? diff --git a/debian/rules b/debian/rules index 803ce85a..f23618c4 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,7 @@ include /usr/share/dpkg/pkg-info.mk -export DEB_CFLAGS_MAINT_APPEND=-fPIC +export DEB_CFLAGS_MAINT_APPEND=-fPIC -DNO_gdk_1texture_1new_1from_1file DEB_BUILD_MAINT_OPTIONS=hardening=+all include /usr/share/dpkg/buildflags.mk CFLAGS+=$(CPPFLAGS) -- Regards Sudip
Reply to:
- Follow-Ups:
- Re: problem with swt4-gtk update
- From: Thorsten Glaser <t.glaser@tarent.de>
- Re: problem with swt4-gtk update
- References:
- problem with swt4-gtk update
- From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
- problem with swt4-gtk update
- Prev by Date: problem with swt4-gtk update
- Next by Date: Re: problem with swt4-gtk update
- Previous by thread: problem with swt4-gtk update
- Next by thread: Re: problem with swt4-gtk update
- Index(es):