Xuanwo opened a new issue, #7086:
URL: https://github.com/apache/opendal/issues/7086

   ### Describe the bug
   
   opendal-java can't work on musl based env:
   
   ```shell
   Exception in thread "main" java.lang.UnsatisfiedLinkError: 
/tmp/libopendal_java9425389812668925541.so: Error loading shared library 
libgcc_s.so.1: No such file or directory (needed by 
/tmp/libopendal_java9425389812668925541.so)
        at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
        at 
java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
        at 
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
        at 
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394)
        at java.base/java.lang.Runtime.load0(Runtime.java:755)
        at java.base/java.lang.System.load(System.java:1970)
        at 
org.apache.opendal.NativeLibrary.doLoadBundledLibrary(NativeLibrary.java:115)
        at 
org.apache.opendal.NativeLibrary.doLoadLibrary(NativeLibrary.java:102)
        at org.apache.opendal.NativeLibrary.loadLibrary(NativeLibrary.java:76)
        at org.apache.opendal.NativeLibrary.<clinit>(NativeLibrary.java:45)
        at org.apache.opendal.NativeObject.<clinit>(NativeObject.java:56)
        at SmokeTest.main(SmokeTest.java:10)
   ```
   
   ### Steps to Reproduce
   
   Try load opendal java in alpine image.
   
   ### Expected Behavior
   
   Just works.
   
   ### Additional Context
   
   _No response_
   
   ### Are you willing to submit a PR to fix this bug?
   
   - [ ] Yes, I would like to submit a PR.


-- 
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