David Li created ARROW-11609:
--------------------------------
Summary: [C++][Docs] Trivial CMake dependency on Arrow fails at
link stage
Key: ARROW-11609
URL: https://issues.apache.org/jira/browse/ARROW-11609
Project: Apache Arrow
Issue Type: Improvement
Components: C++, Documentation
Affects Versions: 3.0.0
Reporter: David Li
The example in the docs here isn't sufficient:
[https://arrow.apache.org/docs/cpp/cmake.html]
It fails at link time because Arrow's transitive dependencies aren't included
in the INTERFACE_LINK_LIBRARIES:
{noformat}
/usr/bin/ld: warning: libglog.so.0, needed by
/home/lidavidm/Code/Ursa/install/lib/libarrow.so.400.0.0, not found (try using
-rpath or -rpath-link)
/usr/bin/ld: warning: libutf8proc.so.2, needed by
/home/lidavidm/Code/Ursa/install/lib/libarrow.so.400.0.0, not found (try using
-rpath or -rpath-link)
/usr/bin/ld: warning: libaws-cpp-sdk-config.so, needed by
/home/lidavidm/Code/Ursa/install/lib/libarrow.so.400.0.0, not found (try using
-rpath or -rpath-link)
# ...{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)