odnoklassniki/one-nio

undefined symbol: OPENSSL_init_ssl

asurovenko opened this issue · 5 comments

Hi!
I built my app with one-nio 1.2.0 and it doesn't start. In logs I can see:
/usr/bin/java: symbol lookup error: /tmp/libonenio.97307c0a.so: undefined symbol: OPENSSL_init_ssl
Both servers: where I built and where I tryed to start, have openssl version 1.0.2k-fips
What I should do?

Apparently, the maven artifact was built with OpenSSL 1.1.x and hence does not work on systems with OpenSSL 1.0.2.

The workaround is to use one-nio-1.2.0.jar from the releases page (it should work everywhere) or to build the .jar yourself.

@incubos can you please re-publish the artifact built against OpenSSL 1.0.2?

incubos, it is still actual? I'm waiting :)

Unfortunately, I am not able to build a backwards compatible version of libonenio.so easily.
@apangin released 1.2.1 to Maven Central using the dedicated build environment. The artifact should become accessible within a day.