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

Statically link libraries for plasma_store_server executable.

    XMLWordPrintableJSON

Details

    Description

      cd ~
      git clone https://github.com/apache/arrow
      cd arrow/cpp
      mkdir build
      cd build
      cmake -DCMAKE_BUILD_TYPE=Release -DARROW_PYTHON=on -DARROW_PLASMA=on ..
      make -j16
      sudo make install
      
      cd ~
      cp arrow/cpp/build/release/plasma_store_server .
      mv arrow arrow-temp
      
      # Try to start the store
      ./plasma_store_server -s /tmp/store -m 1000000000

      The last line crashes with

      ./plasma_store_server: error while loading shared libraries: libplasma.so.12: cannot open shared object file: No such file or directory

      For usability, it's important that people can copy around the plasma store executable and run it.

       

      Attachments

        Issue Links

          Activity

            People

              robertnishihara Robert Nishihara
              robertnishihara Robert Nishihara
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m