Waterfall: Centos OpenSSL problem.

20:46:43 [INFO] Could not load native library: /tmp/bungeecord-native-cipher810503535089700859.so: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory 20:46:43 [INFO] Using standard Java JCE cipher. To enable the OpenSSL based native cipher, please make sure you are using 64 bit Ubuntu or Debian with libssl installed.

`[root@bungeeberry Bungee]# yum install openssl-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile

  • base: less.cogeco.net
  • extras: centos.mirror.rafal.ca
  • rpmforge: mirror.team-cymru.org
  • updates: less.cogeco.net Package 1:openssl-devel-1.0.1e-51.el7_2.5.x86_64 already installed and latest version Nothing to do`

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 19 (13 by maintainers)

Commits related to this issue

Most upvoted comments

Please switch to a less crappy distribution, in this case Debian or Ubuntu

It’s faster native library. Without it proxy will call Java code, which is a little slower

Centos is crappy? sure! xD

Yeah, this is an OpenSSL/CentOS problem. Basically because of how native code works and how OpenSSL is coded when OpenSSL versions change native code breaks. CentOS uses and old version of OpenSSL that doesn’t work with the native code we distribute.

cd Waterfall-Proxy
cd native
./compile-native.sh

Thank you 😉

cd Waterfall-Proxy before mvn

Requirements: Oracle JDK 8 or OpenJDK-devel 8

How to install OpenJDK-devel 8

sudo yum install java-1.8.0-openjdk-headless.x86_64 java-1.8.0-openjdk-devel.x86_64 -y

How to compile Waterfall:

sudo yum install maven git -y
git clone https://github.com/WaterfallMC/Waterfall
cd Waterfall
git submodule update --init
./applyPatches.sh
cd Waterfall-Proxy
cd native
./compile-native.sh
cd ..
mvn clean package -B

Edit: thanks to @kamcio96 for some corrections