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

go needs libstdc++ #162

Closed
mattmoor opened this issue Feb 8, 2018 · 7 comments
Closed

go needs libstdc++ #162

mattmoor opened this issue Feb 8, 2018 · 7 comments
Assignees
Labels

Comments

@mattmoor
Copy link
Contributor

@mattmoor mattmoor commented Feb 8, 2018

I'm getting increasing reports of this lib missing from folks using go_image (example).

Luckily rules_go now supports pure = "on", but we should get the base image fixed for the default case.

Assigning to @dlorenc to triage.

@jameschensmith
Copy link

@jameschensmith jameschensmith commented May 5, 2018

I'm using the base image and getting the same error referenced. Is this being worked on, and what is a temporary work-around on the client-side? Thanks!

@justinsb
Copy link

@justinsb justinsb commented Jun 25, 2018

The cc image does have libstdc++ and I was able to switch my base to distroless/cc and it "worked for me".

I'm not using the go_image task (I use container_image directly), but go_image does have a base field which might work.

@donmccasland
Copy link
Member

@donmccasland donmccasland commented Nov 5, 2019

Okay, I need some opinions here. If I'm reading things right, by design neither base nor static should include a bunch of shared libraries. And since there is a work around for projects needing that library using distroless/cc I'm thinking we should close this won't fix.

@jayeye
Copy link

@jayeye jayeye commented Apr 11, 2021

Three years later, the problem persists.

@prestonvanloon
Copy link

@prestonvanloon prestonvanloon commented Dec 31, 2021

@loosebazooka could you kindly provide information why this issue was closed? Has it been fixed?

@loosebazooka
Copy link
Member

@loosebazooka loosebazooka commented Dec 31, 2021

Just bug bankruptcy. I will reopen since it appears people are interested in it.

@loosebazooka loosebazooka reopened this Dec 31, 2021
@loosebazooka
Copy link
Member

@loosebazooka loosebazooka commented May 6, 2022

okay so there are solutions for this that make sense. If you're using go_image, update the base to use distroless/cc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants