You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "laurentgo (via GitHub)" <gi...@apache.org> on 2024/10/29 15:53:07 UTC

[I] [Java][FlightSQL] Native libraries are not properly relocated [arrow]

laurentgo opened a new issue, #44564:
URL: https://github.com/apache/arrow/issues/44564

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   The netty native libraries shipped with the FlightSQL JDBC driver are relocated to avoid a conflict with existing libraries present in the classpath, but the relocation prefix is incorrect and prevent Netty to actually load them (or possibly load different libraries than the ones shipped with the driver)
   
   Current prefix is `oaadj` but for Netty to correctly detect relocation prefix should match the one used by Netty `NativeLibaryLoader` class (with `.` replaced with `_` as explained at https://github.com/netty/netty/blob/047bdfe4860c077f5f4318742d6427d0f84c5c3a/common/src/main/java/io/netty/util/internal/NativeLibraryLoader.java#L138)
   
   ### Component(s)
   
   Java


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] [Java][FlightSQL] Native libraries are not properly relocated [arrow]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #44564: [Java][FlightSQL] Native libraries are not properly relocated
URL: https://github.com/apache/arrow/issues/44564


-- 
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: issues-unsubscribe@arrow.apache.org

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


Re: [I] [Java][FlightSQL] Native libraries are not properly relocated [arrow]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #44564:
URL: https://github.com/apache/arrow/issues/44564#issuecomment-2445804719

   Issue resolved by pull request 44565
   https://github.com/apache/arrow/pull/44565


-- 
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: github-unsubscribe@arrow.apache.org

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