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

Cannot build without static libraries #1036

Closed
svidovich opened this issue Mar 11, 2019 · 4 comments
Closed

Cannot build without static libraries #1036

svidovich opened this issue Mar 11, 2019 · 4 comments

Comments

@svidovich
Copy link

To reproduce, build by configuring with ./configure ... --disable-static ...

This results in libyara.a being nonexistent during make, which causes make to fail.

@plusvic
Copy link
Member

plusvic commented Apr 26, 2019

Can you provide the command sequence you used and its output?

@svidovich
Copy link
Author

I was on a different machine that I don't have access to -- I can reattempt the build Monday and give you some output, but the gist was

./configure --prefix=/usr --disable-static
make
Which resulted in an ENOENT for libyara.a, if memory serves.

@worldofpeace
Copy link

We noticed the same issue in nixpkgs NixOS/nixpkgs#73164 (comment), we used to workaround it by using a patch like andir/nixpkgs@5f75f72.

worldofpeace added a commit to worldofpeace/nixpkgs that referenced this issue Nov 12, 2019
@plusvic
Copy link
Member

plusvic commented Nov 12, 2019

This issue should be solved by 04df811. Please re-open if the fix doesn't work for you.

@plusvic plusvic closed this as completed Nov 12, 2019
tarterp pushed a commit to mandiant/yara that referenced this issue Mar 31, 2022
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

3 participants