I wondering if anyone can confirm the following issue and/or help explain
it, on MacOS 10.15.6 with OpenSSL 1.1.1g, running:

mvn package

then:

java -Xdiag -Xcheck:jni -cp target/classes
-Dcommons.crypto.lib.tempdir=target/ org.apache.commons.crypto.Crypto
WARNING in native method: JNI call made without checking exceptions when
required to from CallStaticObjectMethod
WARNING in native method: JNI call made without checking exceptions when
required to from CallObjectMethod
Apache Commons Crypto 1.1.0-SNAPSHOT
Native code loaded OK: 1.1.0-SNAPSHOT
Native name: Apache Commons Crypto
Native built: Aug 22 2020
Exception in thread "main" java.lang.UnsatisfiedLinkError: OpenSSL_version
  at org.apache.commons.crypto.OpenSslInfoNative.OpenSSL(Native Method)
  at org.apache.commons.crypto.Crypto.main(Crypto.java:144)

I wonder if we have issues on 1.1.x vs 1.0.x.

My versions:

openssl version
OpenSSL 1.1.1g  21 Apr 2020

mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /opt/apache-maven-3.6.3
Java version: 1.8.0_265, vendor: AdoptOpenJDK, runtime:
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.6", arch: "x86_64", family: "mac"

Thank you,
Gary


On Sat, Aug 22, 2020 at 7:48 PM Gary Gregory <garydgreg...@gmail.com> wrote:

> Hi all,
>
> I intent on creating a release candidate for Commons Crypto soon.
>
> I pushed a snapshot today which contains native binaries for Windows 32
> and 64, Linux 32 and 64, Mac 64, and ARM and ARM HF.
>
> Please help testing these on whatever platforms you may have access to.
>
> Gary
>
>
>

Reply via email to