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

/usr/bin/ld: cannot find -lcap and -zstd: No such file or directory #48

Open
Gianla opened this issue Feb 5, 2025 · 1 comment
Open

Comments

@Gianla
Copy link

Gianla commented Feb 5, 2025

I'm using Manjaro Linux. I had those two problems while compiling tor specifically, after everything else was compiled:
/usr/bin/ld: cannot find -lcap: No such file or directory
/usr/bin/ld: cannot find -zstd: No such file or directory
If somebody has the same errors and you want to save yourself an headache, it is sufficient to add the argument --disable-zstd in torConf for the second error, and to git add libcap and make it manually (it normally creates a .a and a .so library, which I apparently didn't have).

So maybe it is necessary to:

  1. add the --disable-zstd argument;
  2. cite in the dependencies libcap.

It took me a bit of work but I really hope this will be helpful!

@cretz
Copy link
Owner

cretz commented Feb 6, 2025

Thanks, this issue may help others with this error.

(I admit I do not work on this repo really any more)

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