docker-alpine-glibc icon indicating copy to clipboard operation
docker-alpine-glibc copied to clipboard

[help with downstream issue] Symbolic linking of libstdc++ broken

Open tibotiber opened this issue 2 years ago • 3 comments

Hello!

After the last update, we've been seeing some issues with the installation of libstdc++. See report in the downstream repo: https://github.com/tibotiber/hasura-action/issues/13.

2022-01-10T07:32:02.0266519Z �/usr/glibc-compat/sbin/ldconfig: /usr/glibc-compat/lib/ld-linux-x86-64.so.2 is not a symbolic link

I'm now explicitly using the previous version (for now) but I was wondering if you had any recommendation on how to get around this?

Cc @danisevas

tibotiber avatar Jan 11 '22 02:01 tibotiber

@tibotiber This might be related to https://github.com/sgerrand/alpine-pkg-glibc/issues/167 Maybe one of the solutions in the discussion will solve the problem for you. In my setup, with the latest image (alpine3.15 glibc-2.34) I'm able to install libstdc++ with no problem.

danisevas avatar Jan 11 '22 09:01 danisevas

Without a minimal reproducible example, I cannot do anything at all. I suggest you try to play with making that file a symlink, and try creating /usr/glibc-compat/lib/ld-2.34.so file (just copy ld-linux-x86-64.so.2 to it). Alternatively, you will need to debug things further and understand what makes a difference for it and why it suddenly requires the file to be a symlink (it was not a symlink in glibc-2.33 either, so I don't know what has changed)

frol avatar Jan 11 '22 09:01 frol

Thanks both for the answers. I'll have a look at what I can do with the suggestions.

tibotiber avatar Jan 11 '22 10:01 tibotiber