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

Cannot run on Alpine Linux #72

Open
maphe opened this issue Nov 20, 2024 · 0 comments
Open

Cannot run on Alpine Linux #72

maphe opened this issue Nov 20, 2024 · 0 comments

Comments

@maphe
Copy link

maphe commented Nov 20, 2024

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

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

No branches or pull requests

1 participant