lriggs opened a new issue, #657: URL: https://github.com/apache/arrow-java/issues/657
### Describe the bug, including details regarding any error messages, version, and platform. When linux loads libraries there are different options for symbols visibility like: RTLD_LOCAL, RTLD_GLOBAL. Default in Java is RTLD_LOCAL which makes all symbols inside gandiva library only visible to the gandiva library. The problem is when llvm compiles code and loads it into Java process that code won't be able to find any symbols imported by gandiva. One example is 'sinhl' from libgcc which causes sinh function to fail when it is present in SQL query executed by Dremio using Gandiva engine. By importing jna package we can control how to load gandiva library and set Global symbol visibility. -- 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-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org