I am using openjdk-11 in a suse linux server. When I try to run my cpp build with -64bit flag I am getting this error:
Java symbol lookup error: /usr/lib64/jvm/java-11-openjdk-11/lib/libnio.so: undefined symbol: initInetAddressIDs
Here is my ldd warning:
you do not have execution permission for `/usr/lib64/jvm/java-11-openjdk/lib/libnio.so' linux-vdso.so.1 (0x00007fff32bd7000) libjava.so => /usr/lib64/jvm/java-11-openjdk/lib/libjava.so libnet.so => /usr/lib64/jvm/java-11-openjdk/lib/libnet.so libpthread.so.0 => /lib64/libpthread.so.0 libdl.so.2 => /lib64/libdl.so.2 (0x00007f73ee49e000) libc.so.6 => /lib64/libc.so.6 (0x00007f73ee0e4000) libjvm.so => not found libverify.so => /usr/lib64/jvm/java-11-openjdk/lib/libverify.so /lib64/ld-linux-x86-64.so.2
I'm not a Java programmer and have no clue what to do here. Could someone please help me get out of this pit?
ldd /usr/lib64/jvm/java-11-openjdk-11/lib/libnio.so
and post the output ? – nullPointer