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

possible to run in alpine container? #644

Open
Wolfmarsh opened this issue Feb 14, 2024 · 1 comment
Open

possible to run in alpine container? #644

Wolfmarsh opened this issue Feb 14, 2024 · 1 comment

Comments

@Wolfmarsh
Copy link

Is it possible to run this in an alpine container?

I am trying to do that and running into the exception below. The same build/deploy works on a chiseled container. This is potentially due to alpine using musl C, maybe?

Anyone run into this before and have any thoughts?

`Looking for "libimageflow.so" RID="linux-x64", IsUnix=True, IsDotNetCore=True RelativeSearchPath=""
Before searching: Unable to load shared library 'imageflow' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
Error loading shared library /app/runtimes/linux-x64/native/imageflow.so: No such file or directory
Error loading shared library /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.2/imageflow.so: No such file or directory
Error loading shared library /app/imageflow.so: No such file or directory
Error loading shared library imageflow.so: No such file or directory
Error loading shared library libmvec.so.1: No such file or directory (needed by /app/runtimes/linux-x64/native/libimageflow.so)
Error loading shared library /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.2/libimageflow.so: No such file or directory
Error loading shared library /app/libimageflow.so: No such file or directory
Error loading shared library libimageflow.so: No such file or directory
Error loading shared library /app/runtimes/linux-x64/native/imageflow: No such file or directory
Error loading shared library /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.2/imageflow: No such file or directory
Error loading shared library /app/imageflow: No such file or directory
Error loading shared library imageflow: No such file or directory
Error loading shared library /app/runtimes/linux-x64/native/libimageflow: No such file or directory
Error loading shared library /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.2/libimageflow: No such file or directory
Error loading shared library /app/libimageflow: No such file or directory
Error loading shared library libimageflow: No such file or directory

File not found: /app/x64/libimageflow.so
File not found: /app/libimageflow.so
Error "No such file or directory" (2) loading imageflow from /app/runtimes/linux-x64/native/libimageflow.so
at Imageflow.Bindings.NativeMethods.imageflow_context_create(UInt32 imageflowAbiVerMajor, UInt32 imageflowAbiVerMinor)
at Imageflow.Bindings.JobContextHandle.<>c.<.ctor>b__0_0()
at Imageflow.Bindings.NativeLibraryLoader.FixDllNotFoundException[T](String basename, Func1 invokingOperation, IEnumerable1 customSearchDirectories)`

@lilith
Copy link
Member

lilith commented Feb 14, 2024 via email

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

2 participants