-
Notifications
You must be signed in to change notification settings - Fork 902
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
linker missing libsecp256k1 #4283
Comments
Oops, it is actually a bit worse than I thought. Even on the system with current |
Seems to me that others are not experiencing this issue much. Please point out anything I may be doing wrong. Happy to learn. |
The submodule not being present is a bit of a headache for sure. While setting up cirrus-ci I found that the following works reproducibly:
It would be really cool if we could just |
Yes, |
After getting hit by this a couple of times I think I found one option that seems to be working reliably:
This does pretty much exactly what we want. Funnily enough The problem however is that the script doesn't just call the command above, but gates it with a IMHO we should just use the command above in the Makefile and call it a day. |
👍 Yes. Thank you @cdecker for having a look! |
@cdecker I have a current issue with dc38e65. Try to start with a fresh clone of
It does not happen when |
@cdecker Please have a look at https://git-scm.com/book/en/v2/Git-Tools-Submodules which says this:
|
I verified that either of above really solves all the issues I face when compiling with |
Didn't work for me. The only thing that worked was moving to inside each submodule and submodule of submodule and doing |
It is already merged now, but I am wondering if it helps you, given that Ah, did you @fiatjaf do |
No, I didn't do the I'll try to remember this next time I'm in trouble. |
Issue and Steps to Reproduce
Here we are back to #4229 (and the whole tree mentioned in there).
This whole issue is again caused by outdated git submodules.
Oroginally I wrote following:
When compiling the latest
master
I get following on systems which do not have the currentlibsecp256k1
installed in/usr/local
, but rather have merely the (rather old) Ubuntu package (libsecp256k1-dev 0.1~20170810-2
).Would it be possible to statically link against any of the secp256k1 which are around?
The text was updated successfully, but these errors were encountered: