dpengpeng commented on issue #1499:
URL: 
https://github.com/apache/datafusion-comet/issues/1499#issuecomment-2716988053

   > > Well yes, you must at least have a compatible version of glibc. This is 
not specific to Comet, but any native code you build on one system and run on 
another needs to have compatibility between the build environment and the 
runtime environment even if the architectures are the same.
   > 
   > [@parthchandra](https://github.com/parthchandra) Thank you for your 
response and clarification. I have a question: when you talk about 
compatibility, do you mean ensuring that the glibc version used in the 
compilation system matches the glibc version in the runtime system? For 
example, in my case above, should I make sure both systems use glibc 2.27?
   > 
   > However, I noticed that the location and name of glibc differ across 
different systems. In the operating system I am using, Ubuntu (18.04.4 LTS) has 
`/lib64/ld-linux-x86-64.so.2 -> /lib/x86_64-linux-gnu/ld-2.27.so`, while CentOS 
7 has `/lib64/libm.so.6 -> libm-2.17.so`. These seem to follow different 
patterns; how can I ensure compatibility?
   
   @parthchandra 
   After studying the glibc functionality in Linux systems, I now understand 
the compatibility issue you mentioned.
   Rust defaults to dynamically linking glibc. Therefore, I just need to ensure 
that the glibc version on the operating system where the Comet program runs is 
greater than or equal to the glibc version used during compilation. In my case, 
this means ensuring that the glibc version on the runtime operating system is 
>= 2.27.
   
   So, when running Comet, it only focuses on the compatibility between glibc 
versions and does not need to consider the type of operating system.
   
   Thank you very much for your help; I appreciate it.


-- 
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-unsubscr...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to