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

[C++] Address static linking of boost dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.0
    • C++
    • None

    Description

      As a follow up to ARROW-222, we will want to provide the option of standalone shared Arrow libraries, or at least forcing certain dependencies (like boost) to be statically linked. The problem with this is that many Linux distributions do not compile the boost static libs with -fPIC, so you get linker errors (see https://travis-ci.org/apache/arrow/jobs/139374716#L1430).

      In our CI builds, it would be best to avoid building boost from source each time, so I switched things to depend on boost shared libraries at runtime, but it would be nice to have the option to statically link assuming an appropriately-compiled boost.

      Attachments

        Activity

          People

            wesm Wes McKinney
            wesm Wes McKinney
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: