kou commented on issue #36974:
URL: https://github.com/apache/arrow/issues/36974#issuecomment-1664668586

   We don't support the build style. (We don't guarantee ABI for different 
build options binaries.)
   If you use the build style, it's "use it at your own risk". (Tricky 
`dlopen()` may be needed like you for the case.)
   
   > We should also remember that the `ARROW_S3` is only exposed to CMake 
downstream users. Anyone that is using package config will not know if the 
Arrow they are consuming has S3 enabled or not.
   
   Does the "package config" means `pkg-config`/`pkgconf` command? If so, we 
can add support for it by providing `arrow-filesystem-s3.pc` like we did for 
JSON module (`arrow-json.pc`) or adding a `s3` variable to 
`arrow-filesystem.pc` like `*_version` in `arrow.pc`. If you need it, please 
open a new issue for it.
   
   Note: In C++ level, we can use `ARROW_S3`  by `#include 
<arrow/util/config.h>` as I mentioned at 
https://github.com/apache/arrow/issues/36974#issuecomment-1661127660 . It 
doesn't depend on CMake nor `pkg-config`/`pkgconf`.


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