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

Unable to load lib dependencies on linux container #26

Open
POFerro opened this issue Oct 25, 2023 · 0 comments
Open

Unable to load lib dependencies on linux container #26

POFerro opened this issue Oct 25, 2023 · 0 comments

Comments

@POFerro
Copy link

POFerro commented Oct 25, 2023

Hi,

I'm trying to use the lib from a container app ( .NET 7 ) on Azure ( running on a linux container ) and I get this error.

---> System.DllNotFoundException: Unable to load shared library 'FreeImage' 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:
libjxrglue.so.0: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.13/FreeImage.so: cannot open shared object file: No such file or directory
/app/libFreeImage.so: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.13/libFreeImage.so: cannot open shared object file: No such file or directory
/app/FreeImage: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.13/FreeImage: cannot open shared object file: No such file or directory
/app/libFreeImage: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.13/libFreeImage: cannot open shared object file: No such file or directory

at FreeImageAPI.FreeImage.CloseMultiBitmap_(FIMULTIBITMAP bitmap, FREE_IMAGE_SAVE_FLAGS flags)
at FreeImageAPI.FreeImage.CloseMultiBitmap(FIMULTIBITMAP bitmap, FREE_IMAGE_SAVE_FLAGS flags)

Looks like libjxrglue.so.0 lib is not found, this seems to be a FreeImage native lib dependency.
Can you help me? Am I missing something?
I also realized that latest apt-get package for freeimage 3.18.0 has changed some dependency versions, might it be the problem?

Thanks and best regards
POFerro

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