Skip to content

Statically link libraries for plasma_store_server executable. #19873

@asfimport

Description

@asfimport
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.

 

Reporter: Robert Nishihara / @robertnishihara
Assignee: Robert Nishihara / @robertnishihara

PRs and other links:

Note: This issue was originally created as ARROW-3559. Please see the migration documentation for further details.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions