Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to load libVAL.so when launched from a different directory --- script for a static build? #54

Open
guicho271828 opened this issue Feb 16, 2021 · 1 comment

Comments

@guicho271828
Copy link

No description provided.

@karpase
Copy link

karpase commented Jul 4, 2021

add_static_option.diff.gz

The attached diff modifies the CMake config to enable a static build.
To build statically, use:

mkdir build_static
cmake -DCMAKE_STATIC=True ..
make

I have only tested this on my Ubuntu 18.04 WSL, where it makes the binary 25MB instead of 3MB, so only use if necessary.

Cheers,
Erez.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants