Bug ID 1218466
Summary openjfx cannot run application missing symbol XOpenDisplay
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Development
Assignee screening-team-bugs@suse.de
Reporter rcoe@wi.rr.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

I'm building an app with openjfx.  
I installed openjfx-17.0.7.0-1.5.x86_64 and openjfx-devel-17.0.7.0-1.5.x86_64

When I run my app I get:
Caused by: java.lang.UnsatisfiedLinkError: /usr/lib64/openjfx/libglass.so:
/usr/lib64/openjfx/libglass.so: undefined symbol: XOpenDisplay

$ ldd /usr/lib64/openjfx/libglass.so 
        linux-vdso.so.1 (0x00007ffe7335d000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f25c5600000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f25c59eb000)

I added /lib64/libX11.so with LD_PRELOAD and I get:
Caused by: java.lang.UnsatisfiedLinkError: /usr/lib64/openjfx/libglassgtk3.so:
/usr/lib64/openjfx/libglassgtk3.so: undefined symbol:
_ZTVN10__cxxabiv120__si_class_type_infoE

So c++ deps are missing too.

I built openjfx from source and libglass.so has:
$ ldd libglass.so 
        linux-vdso.so.1 (0x00007ffc3b450000)
        libX11.so.6 => /lib64/libX11.so.6 (0x00007f04e2f9a000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f04e2eb3000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f04e2c00000)
        libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f04e2e86000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f04e311e000)
        libXau.so.6 => /lib64/libXau.so.6 (0x00007f04e2e81000)

I looked at the openjfx src rpm, and it's using maven to build.
That may be the difference between openjfx-17 and openjfx-current.
I'm not sure what to do to fix the issue.


You are receiving this mail because: