jamesnetherton opened a new issue, #5912:
URL: https://github.com/apache/camel-quarkus/issues/5912

   ### Bug description
   
   If you try to run the native tests in 
`integration-test-groups/azure/azure-storage-queue`, they will fail with 
`UnsatisfiedLinkError`.
   
   ```
   Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 
'libsecret-1':
   liblibsecret-1.so: cannot open shared object file: No such file or directory
   liblibsecret-1.so: cannot open shared object file: No such file or directory
   Native library (linux-x86-64/liblibsecret-1.so) not found in resource path ()
        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:301)
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:461)
        at com.sun.jna.Library$Handler.<init>(Library.java:192)
        at com.sun.jna.Native.load(Native.java:596)
        at com.sun.jna.Native.load(Native.java:570)
        at 
com.microsoft.aad.msal4jextensions.persistence.linux.ISecurityLibrary.<clinit>(ISecurityLibrary.java:18)
   ```
   
   This issue has been masked on our CI builds as we run the Azure tests 
'grouped'. There's some logic in the `azure-storage-blob` extension that fixes 
this issue.
   
   
https://github.com/apache/camel-quarkus/blob/main/extensions/azure-storage-blob/deployment/src/main/java/org/apache/camel/quarkus/component/azure/storage/blob/deployment/AzureStorageBlobProcessor.java#L73-L83
   
   However, that logic is not entirely correct. `ISecurityLibrary` (and others) 
should be registered for runtime reinitialization as the static initializers 
need to rerrun on startup. 


-- 
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: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to