DllNotFoundException: libgdiplus.so.0


#1

I just tried testing Sonarr v3 and I get a fatal error saying libgdiplus.so.0 is missing. How would I go about installing this on a Drobo?

Mono version: 5.12.0.226
Sonarr version: 3.0.0.348

v2 is still working perfectly fine.

19-3-20 10:14:34.5|Info|Bootstrap|Starting Sonarr - /mnt/DroboFS/Shares/DroboApps/Sonarr/Sonarr.exe - Version 3.0.0.348
19-3-20 10:14:36.1|Fatal|WindowsApp|EPIC FAIL

[v3.0.0.348] System.IO.FileNotFoundException: Could not load file or assembly 'Sonarr.Mono' or one of its dependencies
File name: 'Sonarr.Mono'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, System.Boolean refonly) [0x00016] in <b5a468ef5c83494283aa6461d6630b49>:0 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in <b5a468ef5c83494283aa6461d6630b49>:0 
  at (wrapper remoting-invoke-with-check) System.AppDomain.Load(string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00005] in <b5a468ef5c83494283aa6461d6630b49>:0 
  at NzbDrone.Common.Composition.ContainerBuilderBase..ctor (NzbDrone.Common.EnvironmentInfo.IStartupContext args, System.Collections.Generic.List`1[T] assemblies) [0x00046] in <9bc125481bab492a89f2dd1df20779ce>:0 
  at NzbDrone.Host.MainAppContainerBuilder..ctor (NzbDrone.Common.EnvironmentInfo.StartupContext args, System.Collections.Generic.List`1[T] assemblies) [0x00000] in <ea08aea1ea5643288a50fe5f379e3b1d>:0 
  at NzbDrone.Host.MainAppContainerBuilder.BuildContainer (NzbDrone.Common.EnvironmentInfo.StartupContext args) [0x00048] in <ea08aea1ea5643288a50fe5f379e3b1d>:0 
  at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x00045] in <ea08aea1ea5643288a50fe5f379e3b1d>:0 
  at NzbDrone.WindowsApp.Main (System.String[] args) [0x00013] in <20e0cf746442462c86e9942f55e0cdcb>:0 

19-3-20 10:14:48.0|Fatal|GlobalExceptionHandlers|EPIC FAIL.

[v3.0.0.348] System.TypeInitializationException: The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.ThemeEngine' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.ThemeWin32Classic' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.KnownColors' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0
  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x000b0] in <59eedd72a25b467ea75d495a33b19fa3>:0 
   --- End of inner exception stack trace ---
  at System.Drawing.KnownColors..cctor () [0x0001a] in <59eedd72a25b467ea75d495a33b19fa3>:0 
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at System.Drawing.Color.FromKnownColor (System.Drawing.KnownColor color) [0x00007] in <59eedd72a25b467ea75d495a33b19fa3>:0 
  at System.Drawing.Color.get_Black () [0x00000] in <59eedd72a25b467ea75d495a33b19fa3>:0 
  at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <f7d5c9e6686841549aac86e06ccfdf30>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Forms.ThemeEngine..cctor () [0x0002f] in <f7d5c9e6686841549aac86e06ccfdf30>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <f7d5c9e6686841549aac86e06ccfdf30>:0 
  at System.Windows.Forms.Control..ctor () [0x000e4] in <f7d5c9e6686841549aac86e06ccfdf30>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control..ctor()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <f7d5c9e6686841549aac86e06ccfdf30>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Forms.Control..ctor () [0x00014] in <f7d5c9e6686841549aac86e06ccfdf30>:0 
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <f7d5c9e6686841549aac86e06ccfdf30>:0 
  at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <f7d5c9e6686841549aac86e06ccfdf30>:0 
  at System.Windows.Forms.Form..ctor () [0x00012] in <f7d5c9e6686841549aac86e06ccfdf30>:0 
  at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Boolean displayHelpButton) [0x0000c] in <f7d5c9e6686841549aac86e06ccfdf30>:0 
  at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <f7d5c9e6686841549aac86e06ccfdf30>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox+MessageBoxForm..ctor(System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon)
  at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <f7d5c9e6686841549aac86e06ccfdf30>:0 
  at NzbDrone.WindowsApp.Main (System.String[] args) [0x00065] in <20e0cf746442462c86e9942f55e0cdcb>:0 

#2

It looks like you downloaded the Windows package instead of the linux one and you’re trying to run Sonarr.exe which is built specifically for Windows to show a tray icon.


#3

Hmm, I’m pretty sure I downloaded the .tar.gz from here:

http://services.sonarr.tv/v1/download/phantom/latest?version=3&os=linux

Could it be pointing to the wrong file?

UPDATE: I forgot to surround the URL with quotation marks. wget got the proper file this time.


closed #4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.