Closed luisdavim closed 2 months ago
should I set?
PATH=/usr/glibc-compat/sbin:/usr/glibc-compat/bin:$PATH
The same issue when try to run ./java
./java: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
What about this workaround: https://github.com/sgerrand/alpine-pkg-glibc/issues/75#issuecomment-423855554?
I'm so sorry for not responding to this bug report sooner.
I suggest that if you have chosen to run non-musl based software inside Alpine Linux because of the size of Alpine's Docker images then you and any other future readers in a situation like this should consider running containers based on Docker images that are based on a GNU C library, rather than trying to run binaries which weren't compiled for musl inside Alpine Linux. As an example, Debian currently provide "slim" Docker images for each of their releases which are ~ 30 MB compressed.
this is how my setup looks like:
but if I try:
or:
Also:
Am I missing something?