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

Single server binary is no longer statically linked on Linux #352

Open
ctron opened this issue Nov 16, 2022 · 0 comments
Open

Single server binary is no longer statically linked on Linux #352

ctron opened this issue Nov 16, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@ctron
Copy link
Member

ctron commented Nov 16, 2022

The single server binary was statically linked for 0.8. But since then it is actually dynamically linked.

We should revert to a statically linked binary, however it seems link this isn't as easy as expected. All kind of attempts to switch to static failed. The result always is a dynamically linked binary.

One assumption is, that the use of pkg-config in most of the libraries takes precedence over "vendored". And so it ends up using the -l flags from pkg-config, but doesn't add a "statically linked" flag.

@ctron ctron added the bug Something isn't working label Nov 16, 2022
@ctron ctron added this to the 0.12.0 milestone Nov 16, 2022
@ctron ctron moved this to Todo in Drogue Cloud 0.12 Nov 16, 2022
@ctron ctron changed the title Single server binaries is no longer statically linked on Linux Single server binary is no longer statically linked on Linux Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant