-
Notifications
You must be signed in to change notification settings - Fork 1k
Static link libstdc++ #555
Comments
I'd love to know this too! |
I presume this is the reason I'm getting the following error, when trying to run my binary in a Script Dockerfile
Error
|
@igorklopov - first of all, thanks for an awesome tool! Just reading your comments here...
Is there any chance we can have this added to the (I'd do it myself, but not sure if there's a reason it hasn't already been added.) |
Hey wonderful team of pkg 😉 thanks for this awesome tool! We're also interested in this issue at Clever Cloud for our CLI and we're available to test any alpha/beta if needed. |
This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label |
cc @jesec ? |
That would increase the binary size unnecessarily for majority of users, as it is simply improbable for a functional system to NOT have the standard C++ library. Additionally, static linking has certain security implications, and some distributions (such as EL) simply don’t provide static libraries ( Instead, make it Alpine only. |
Yeah I think they means to add this just for alpine binaries, btw I think that add an apk install command isn't that hard to do... Maybe we could add some docs about this |
This issue has been resolved. Please let me know if it is still relevant. |
I'd like to ask
pkg
to statically linklibstdc++
into the binary file. I currently need to add libstdc++ into my alpine container before running my binary file and I would like not having to.Any thoughts?
Is this possible?
The text was updated successfully, but these errors were encountered: