You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "llama90 (via GitHub)" <gi...@apache.org> on 2024/03/04 10:54:23 UTC
[I] [C++][Gandiva] An error during the build process for gandiva [arrow]
llama90 opened a new issue, #40334:
URL: https://github.com/apache/arrow/issues/40334
### Describe the bug, including details regarding any error messages, version, and platform.
After pulling the latest code and enabling the options to build Gandiva (`-DARROW_GANDIVA=ON`), I encounter the following error while performing the build.
I am using an M1 MacBook.
I also tried after running the command `brew update && brew bundle --file=cpp/Brewfile`.
```bash
In file included from /Users/lama/workspace/arrow-new/cpp/src/gandiva/encrypt_utils_test.cc:18:
/Users/lama/workspace/arrow-new/cpp/src/gandiva/encrypt_utils.h:20:10: fatal error: 'openssl/aes.h' file not found
#include <openssl/aes.h>
^~~~~~~~~~~~~~~
1 error generated.
```
### Component(s)
C++ - Gandiva
--
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] [C++][Gandiva] An error during the build process for gandiva [arrow]
Posted by "llama90 (via GitHub)" <gi...@apache.org>.
llama90 commented on issue #40334:
URL: https://github.com/apache/arrow/issues/40334#issuecomment-1976430296
Thank you for your response :)
Oh... Your suggestion is working well.
May I create a PR?
--
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
Re: [I] [C++][Gandiva] An error during the build process for gandiva [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #40334:
URL: https://github.com/apache/arrow/issues/40334#issuecomment-1976380359
Could you try this?
```diff
diff --git a/cpp/src/gandiva/CMakeLists.txt b/cpp/src/gandiva/CMakeLists.txt
index 0f28b0da82..3e63f88c3d 100644
--- a/cpp/src/gandiva/CMakeLists.txt
+++ b/cpp/src/gandiva/CMakeLists.txt
@@ -269,7 +269,8 @@ add_gandiva_test(internals-test
interval_holder_test.cc
tests/test_util.cc
EXTRA_LINK_LIBS
- re2::re2)
+ re2::re2
+ ${GANDIVA_OPENSSL_LIBS})
add_subdirectory(precompiled)
add_subdirectory(tests)
```
--
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
Re: [I] [C++][Gandiva] An error during the build process for gandiva [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #40334:
URL: https://github.com/apache/arrow/issues/40334#issuecomment-1976500835
Yes, please!
--
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
Re: [I] [C++][Gandiva] An error during the build process for gandiva [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #40334:
URL: https://github.com/apache/arrow/issues/40334#issuecomment-1977757026
Issue resolved by pull request 40338
https://github.com/apache/arrow/pull/40338
--
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
Re: [I] [C++][Gandiva] An error during the build process for gandiva [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #40334: [C++][Gandiva] An error during the build process for gandiva
URL: https://github.com/apache/arrow/issues/40334
--
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