amunra opened a new issue, #3612:
URL: https://github.com/apache/incubator-opendal/issues/3612

   We use `opendal-java` for testing. We test on a number of boxes, including 
Amazon Linux 2.
   
   There, the lib fails to load:
   
   ```
   java.lang.UnsatisfiedLinkError: 
/usr/share/vsts-agent/tmp/libopendal_java11421961246136125340.so: libssl.so.3: 
cannot open shared object file: No such file or directory
        at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
        at 
java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
        at 
java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
        at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2630)
        at java.base/java.lang.Runtime.load0(Runtime.java:768)
        at java.base/java.lang.System.load(System.java:1837)
        at 
org.apache.opendal.NativeLibrary.doLoadBundledLibrary(NativeLibrary.java:94)
        at org.apache.opendal.NativeLibrary.doLoadLibrary(NativeLibrary.java:81)
        at org.apache.opendal.NativeLibrary.loadLibrary(NativeLibrary.java:55)
        at org.apache.opendal.NativeLibrary.<clinit>(NativeLibrary.java:45)
        at org.apache.opendal.NativeObject.<clinit>(NativeObject.java:54)
   ```
   
   The issue here is that AL2 ships with OpenSSL 1, rather than 3.
   
   Is it possible to load the bindings to use `rustls` instead?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to