I'm trying to run the realesrgan-ncnn-vulkan executable on an Docker container running on Alpine, and getting errors.
My Apline Docker setup includes installing glibc via the following line
RUN apk add --no-cache vulkan-loader vulkan-tools glibc-compat
When I try to run it, I'm getting the following error:
Error loading shared library libmvec.so.1: No such file or directory (needed by /app/models/realesrgan/realesrgan-ncnn-vulkan)
Error relocating /app/models/realesrgan/realesrgan-ncnn-vulkan: _ZGVbN4v_expf: symbol not found
The file itself (libmvec.so.1) exists in /usr/glibc-compat/lib but my guess is that the executable can't access it there.
I've tried a few things, including:
ln -sf /usr/glibc-compat/lib/* /usr/lib/
but this is just changing the error to:
Error relocating /usr/lib/libmvec.so.1: unsupported relocation type 37
# ...same error duplicated 20 times...
Error relocating /usr/lib/libmvec.so.1: _rtld_global_ro: symbol not found
Error relocating /app/models/realesrgan/realesrgan-ncnn-vulkan: _ZGVbN4v_expf: symbol not found
I'll take any idea I can try out. Thanks
I'm trying to run the
realesrgan-ncnn-vulkanexecutable on an Docker container running on Alpine, and getting errors.My Apline Docker setup includes installing glibc via the following line
RUN apk add --no-cache vulkan-loader vulkan-tools glibc-compatWhen I try to run it, I'm getting the following error:
The file itself (
libmvec.so.1) exists in/usr/glibc-compat/libbut my guess is that the executable can't access it there.I've tried a few things, including:
ln -sf /usr/glibc-compat/lib/* /usr/lib/but this is just changing the error to:
I'll take any idea I can try out. Thanks