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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.0.0
    • None
    • C++, Documentation
    • 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

            Unassigned Unassigned
            lidavidm David Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: