-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[.NET Core 3.1] System.DllNotFoundException: Unable to load shared library 'libcups' or one of its dependencies. #52696
Comments
Tagging subscribers to this area: @tarekgh, @safern Issue DetailsHi, When trying to print a simple .pdf file I ran into the error below:
I am running the code inside a Linux container and the docker file looks like below:
The output also displays several other errors which may be related:
@mellinoe , in this refactoring the libcups dll is manually loaded. However I can't see if it has any dependency that might cause the above errors to appear. Do you know what dependencies the libcups dll have and are missing? Also I installed libicu-dev but it still complains that u_strlen symbol was not loaded which is very weird. Thanks,
|
Tagging subscribers to this area: @safern, @tarekgh Issue DetailsHi, When trying to print from a .NET Core 3.1 I ran into the error below:
I am running the code inside a Linux container and the docker file looks like below:
The output also displays several other errors which may be related:
@mellinoe , in this refactoring the libcups dll is manually loaded. However I can't see if it has any dependency that might cause the above errors to appear. Do you know what dependencies the libcups dll have and are missing? Also I installed libicu-dev but it still complains that u_strlen symbol was not loaded which is very weird. Thanks,
|
@mthalman It would be nice to have a recipe for how people can solve problems like this one using your dependencies inventory. |
Related to dotnet/core#5651 @apetrut - The .NET Docker images do not contain all possible dependencies that .NET has. It only contains dependencies for mainline scenarios. In this case, printing does require the |
@mthalman , I tried to install libcups using the line below: RUN apt-get install -y libcups but instead I got this error: Unable to locate package libcups |
It's |
Thanks, it works now. I no longer receive the errors above. The final docker file looks like this:
Regards, |
Hi,
When trying to print from a .NET Core 3.1 app, I ran into the error below:
I am running the code inside a Linux container and the docker file looks like below:
The output also displays several other errors which may be related:
@mellinoe , in this refactoring the libcups dll is manually loaded. However I can't see if it has any dependency that might cause the above errors to appear.
Do you know what dependencies the libcups dll have and are missing?
Also I installed libicu-dev but it still complains that u_strlen symbol was not loaded which is very weird.
Thanks,
Andrei
The text was updated successfully, but these errors were encountered: