libXrender.so.1: cannot open shared object file

Hello I have a Minecraft server and it runs on a Debian 9 server with Docker and now I have a problem with my plugin that LibXrender cannot find.

java.lang.UnsatisfiedLinkError: /usr/local/openjdk-11/lib/libjawt.so: libXrender.so.1: cannot open shared object file: No such file or directory

Libxrender is installed and I have already entered sudo /sbin/ldconfig -v there it appears here: /usr/lib/i386-linux-gnu:
libXrender.so.1 -> libXrender.so.1.3.0

I’m not a Java expert, but libs with paths containing “i386” are usually meant for 32 bit libraries. I can hardly imagine, you have a 32 bit system. I guess, that is the root of your dependency problem: The libjawt.so is probably a 64bit lib and cannot use the 32bit lib libXrender.so.1.

If I were you, I’d try to reinstall LibXrender.so, but make sure, you install the 64bit variant. Where to find that, I don’t know. You’ll have to do an internet search or maybe some more expert member can provide more insight. This is just the direction, I would search in.

1 Like