Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-11609

[C++][Docs] Trivial CMake dependency on Arrow fails at link stage

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: C++, Documentation
    • Labels:
      None

      Description

      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:

      /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)
      # ...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lidavidm David Li
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: