imazen / imageflow-dotnet

The official .NET API for Imageflow, the Rust image processing and optimization engine for web servers
GNU Affero General Public License v3.0
140 stars 25 forks source link

Unable to load shared library 'imageflow' #61

Open bichtv opened 1 month ago

bichtv commented 1 month ago

I have issued runtime application. pls help me resolve issue. Thanks One or more errors occurred. (Looking for \"libimageflow.so\" RID=\"linux-x64\", IsUnix=True, IsDotNetCore=True RelativeSearchPath=\"\"\nBefore searching: Unable to load shared library 'imageflow' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libimageflow: cannot open shared object file: No such file or directory\nFile not found: /app/x64/libimageflow.so\nFile not found: /app/libimageflow.so\nError \"Success\" (0) loading imageflow from /app/runtimes/linux-x64/native/libimageflow.so\n at Imageflow.Bindings.NativeMethods.imageflow_context_create(UInt32 imageflowAbiVerMajor, UInt32 imageflowAbiVerMinor)\n at Imageflow.Bindings.JobContextHandle.<>c.<.ctor>b__0_0()\n at Imageflow.Bindings.NativeLibraryLoader.FixDllNotFoundException[T](String basename, Func1 invokingOperation, IEnumerable1 customSearchDirectories)\n)

lilith commented 1 month ago

Which nuget packages did you use?

On Sat, Jun 22, 2024, 9:02 AM bichtv @.***> wrote:

I have issued runtime application. pls help me resolve issue. Thanks One or more errors occurred. (Looking for "libimageflow.so" RID="linux-x64", IsUnix=True, IsDotNetCore=True RelativeSearchPath=""\nBefore searching: Unable to load shared library 'imageflow' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libimageflow: cannot open shared object file: No such file or directory\nFile not found: /app/x64/libimageflow.so\nFile not found: /app/libimageflow.so\nError "Success" (0) loading imageflow from /app/runtimes/linux-x64/native/libimageflow.so\n at Imageflow.Bindings.NativeMethods.imageflow_context_create(UInt32 imageflowAbiVerMajor, UInt32 imageflowAbiVerMinor)\n at Imageflow.Bindings.JobContextHandle.<>c.<.ctor>b__0_0()\n at Imageflow.Bindings.NativeLibraryLoader.FixDllNotFoundException[T](String basename, Func1 invokingOperation, IEnumerable1 customSearchDirectories)\n)

— Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow-dotnet/issues/61, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LHYCRQSCIJ3IMZZ7SFLZIWGZJAVCNFSM6AAAAABJXQB5RWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DOOBWGU3TQNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

AlexandruIonutZarnescu commented 1 week ago

I have the same problem. MacOS Sonoma 14.5. .net 8.0 Imageflow.NativeRuntime.osx-x86_64/2.0.0-preview8