Running new LicenseManager() in .NET Core Linux Docker Container throws Exception

Questions about GdPicture.NET license agreement.
Post Reply
FHA
Posts: 2
Joined: Sat Oct 02, 2021 4:44 am

Running new LicenseManager() in .NET Core Linux Docker Container throws Exception

Post by FHA » Sat Oct 02, 2021 4:56 am

The line
var oLicenseManager = new LicenseManager();

creates the following Exception running in a linux container:

Unhandled exception. System.DllNotFoundException: Unable to load shared library 'msvcrt.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libmsvcrt.dll: cannot open shared object file: No such file or directory
at ᠺ._controlfp(UInt32 A_0, UInt32 A_1)
at ᢀ.ᜀ(Boolean A_0, Int32 A_1, Boolean A_2)
at GdPicture14.LicenseManager..ctor()

This means it has a direct dependency to a windows dll, which is ofcourse not existing in my container.

How to fix this?

User avatar
Fabio
Posts: 126
Joined: Thu Aug 27, 2020 9:57 am

Re: Running new LicenseManager() in .NET Core Linux Docker Container throws Exception

Post by Fabio » Mon Oct 04, 2021 11:19 am

Hello there,

It is required to use our SDK in a Windows environment since it uses some of its DLLs: https://www.gdpicture.com/guides/gdpict ... ments.html

Mainly, the easiest way to bypass this issue is to set a Windows server in your architecture as a three-tier.

With best,
Fabio

FHA
Posts: 2
Joined: Sat Oct 02, 2021 4:44 am

Re: Running new LicenseManager() in .NET Core Linux Docker Container throws Exception

Post by FHA » Wed Oct 06, 2021 5:22 pm

Yes, I've seen the requirements after writing this post.
Are there plans to enable Gd.Picture to run in all .NET Core Environments?

User avatar
Fabio
Posts: 126
Joined: Thu Aug 27, 2020 9:57 am

Re: Running new LicenseManager() in .NET Core Linux Docker Container throws Exception

Post by Fabio » Tue Oct 12, 2021 4:29 pm

Hello,

At the moment we are focus on other tasks, I could not share any ETA regarding the Linux compatibility.

With best,
Fabio

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest