rocksplicator icon indicating copy to clipboard operation
rocksplicator copied to clipboard

Can rocksplicator support static compilation?

Open xunliu opened this issue 5 years ago • 2 comments

I added to the CMakeFiles file

set(CMAKE_EXE_LINKER_FLAGS "-static -static-libgcc")

But the compilation fails.

xunliu avatar Sep 28 '20 07:09 xunliu

Hi Xun,

Internally we use ldd to figure out all the .so files that are required by the counter service binary and package them together for deployment.

Thanks, Bo

On Mon, Sep 28, 2020 at 12:31 AM Xun Liu [email protected] wrote:

I added to the CMakeFiles file

set(CMAKE_EXE_LINKER_FLAGS "-static -static-libgcc")

But the compilation fails.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pinterest/rocksplicator/issues/396, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQM5NS4Z5FBUZ3R4X7RNZ3SIA3TXANCNFSM4R4E7ANQ .

newpoo avatar Sep 28 '20 15:09 newpoo

@newpoo Thanks for your reply, I will try.

xunliu avatar Sep 29 '20 00:09 xunliu