PaperBin icon indicating copy to clipboard operation
PaperBin copied to clipboard

PaperBin server crashes when trying to start

Open pineapplebox opened this issue 3 years ago • 1 comments

Upon trying to start server (java -Xms128M -Xmx2048M -jar PaperBin.jar Paper.jar), the following error is given: /lib64/libc.so.6: version `GLIBC_2.18' not found This happens on an install of CentOS 7, which does not have Glibc v2.18. Any ideas?

pineapplebox avatar Dec 16 '20 23:12 pineapplebox

Unfortunately I compile paperbin on my Arch Linux desktop meaning the dependency requirements are usually quite recent.

Currently the fix for this would be to compile the native library on your server/a server with the same libc version.

To do this just clone paperbin, enter the native libraries directory and run cargo build —release, then replace the native lib from inside the official release jar with the newly built library inside target/release.

x4e avatar Dec 16 '20 23:12 x4e