-
Notifications
You must be signed in to change notification settings - Fork 57
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
Suggested environment for static build? #75
Comments
The release binaries are currently built on a VirtualBox VM running Ubuntu 20.04. Getting static builds to work across different distributions is likely not trivial.
Yes, eventually. I was actually eager to work on some features before pushing out a new release, but I don't currently find the time. I'll try and merge the parts that are complete from |
I tried to compile it myself on an Ubuntu chroot and got the follow errors. Any ideas on what I can do about them?
|
I don't have access to the VM now (for the next two weeks actually). It looks like it's not finding a statically linkable |
Okay, I've just had a look at the VM and from what I see I had to build/install the following libraries manually as Ubuntu would not have static libraries to link against:
That being said, static builds are currently broken on both the |
Just a quick update that I've got static builds working again. I'll try and get a release out as soon as possible. |
Please check the docs for setting up a static build environment. |
I tried it on a 22.04 chroot and it worked easily with the instructions you gave in the README. Thanks a ton! |
Awesome! Thanks for testing! |
I'm trying to do a static build of
dwarfs
so I can run the latest commit on thewip
branch on Alpine Linux. This is due to musl libc not having all of the headers needed to builddwarfs
and the lack of ajemalloc
package in Alpine's repositories. The development packages provided in my distribution of choice (Solus) don't seem to work properly with the static build option. How exactly are the binaries on the releases page compiled?On a side note, are the commits sitting on the
wip
branch every going to find their way into a release? I feel like some very useful features, namely cache cleanup, were added in those commits.The text was updated successfully, but these errors were encountered: