Now I’m trying to use it in Asp.Net Core 2.2 app
When I test it locally on dev pc (windows) windows everything works, but on productions on Linux (CentOS 7.x) it does not...
So, if you get message: Unable to load DLL 'libgdiplus'
You must install libgdiplus
- Code: Select all
yum install -y libgdiplus
Then symlink it cose your app is looking for DLL file
- Code: Select all
cd /usr/lib
ln -s libgdiplus.so gdiplus.dll
And I had and issue with: Unable to load DLL 'libdl'
So also symlink
- Code: Select all
ln -s /lib64/libdl.so.2 /lib64/libdl.so
Now everything should work
This is primary an issue with System.Drawing dependency... Hope you can add this to knowledgebase, so it is available to all (did not see it in any help section or forums)