kou commented on issue #14920:
URL: https://github.com/apache/arrow/issues/14920#issuecomment-1371399924
Ah, we need to add `-latomic` to our CMake package because PyArrow uses
CMake package not pkg-config package. Could you try the following patch?
```diff
diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt
index 3bf5ebb9b9..4c784f2bb8 100644
--- a/cpp/src/arrow/CMakeLists.txt
+++ b/cpp/src/arrow/CMakeLists.txt
@@ -578,6 +578,8 @@ endif()
# See also: https://issues.apache.org/jira/browse/ARROW-12860
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND ${CMAKE_SYSTEM_PROCESSOR}
MATCHES "armv7")
string(APPEND ARROW_PC_LIBS_PRIVATE " -latomic")
+ list(APPEND ARROW_SHARED_INSTALL_INTERFACE_LIBS "-latomic")
+ list(APPEND ARROW_STATIC_INSTALL_INTERFACE_LIBS "-latomic")
endif()
# If libarrow.a is only built, "pkg-config --cflags --libs arrow"
```
--
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]