Jump to content

Installation on debian x64 - Missing package?


dgrabla

Recommended Posts

Hi,

PlasticSCM client doesn't want to run in my debian x64.

I installed this package: PlasticSCM-4.1.10.382-linux-x64-installer.run

My environment:

dpkg -l libgdiplus

(...)

ii libgdiplus 2.10-3+b1 amd64 interface library for System.Drawing of Mono

mono -V

Mono JIT compiler version 2.10.8.1 (Debian 2.10.8.1-5)

Copyright © 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com

TLS: __thread

SIGSEGV: altstack

Notifications: epoll

Architecture: amd64

Disabled: none

Misc: softdebug

LLVM: supported, not enabled.

GC: Included Boehm (with typed GC and Parallel Mark)

When I try to run for the first time plastic client I get this Exception:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: libgdiplus.so.0.0.0

at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)

at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0

--- End of inner exception stack trace ---

at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in <filename unknown>:0

at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0

at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0

at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0

at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0

--- End of inner exception stack trace ---

at System.Drawing.Color.get_Black () [0x00000] in <filename unknown>:0

at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <filename unknown>:0

--- End of inner exception stack trace ---

at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in <filename unknown>:0

at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in <filename unknown>:0

--- End of inner exception stack trace ---

at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0

at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0

at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()

at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown>:0

--- End of inner exception stack trace ---

at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0

at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <filename unknown>:0

at System.Windows.Forms.ContainerControl..ctor () [0x00000] in <filename unknown>:0

at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0

at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (IWin32Window owner, System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon, Boolean displayHelpButton) [0x00000] in <filename unknown>:0

at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (IWin32Window owner, System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean displayHelpButton) [0x00000] in <filename unknown>: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,System.Windows.Forms.MessageBoxDefaultButton,System.Windows.Forms.MessageBoxOptions,bool)

at System.Windows.Forms.MessageBox.Show (IWin32Window owner, System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) [0x00000] in <filename unknown>:0

at Codice.I3.I3MessageBox.Show (IWin32Window window, System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) [0x00000] in <filename unknown>:0

at Codice.I3.I3MessageBox.Show (System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) [0x00000] in <filename unknown>:0

at ce.a (System.String A_0, System.String A_1, MessageBoxIcon A_2, IWin32Window A_3) [0x00000] in <filename unknown>:0

at ce.a (System.String A_0, System.String A_1, MessageBoxIcon A_2, ISynchronizeInvoke A_3, IWin32Window A_4) [0x00000] in <filename unknown>:0

at ce.a (System.String A_0, MessageBoxIcon A_1, ISynchronizeInvoke A_2, IWin32Window A_3) [0x00000] in <filename unknown>:0

at ce.a (System.String A_0, System.Exception A_1, MessageBoxIcon A_2, ISynchronizeInvoke A_3, IWin32Window A_4) [0x00000] in <filename unknown>:0

at ce.a (System.String A_0, System.Exception A_1, MessageBoxIcon A_2) [0x00000] in <filename unknown>:0

at ce.b (System.Exception A_0) [0x00000] in <filename unknown>:0

at xk.a (System.String[] A_0) [0x00000] in <filename unknown>:0

I think I need to install additional mono packages, but I have not seen in the site a list of required packages or libraries. What packages are needed?

Link to comment
Share on other sites

Hi!

it seems that Mono has no idea where your gdiplus library is, check it with this command:

$ ldconfig -p |grep libgdiplus

Taken from the mono official documentation (http://mono-project....tFoundException) you can solve the issue by adding the reference into the "/etc/ld.so.conf " file.

The correct way to fix this problem is to add /usr/local/lib as one of the paths that ldconfig indexes. To do this, add the path to /etc/ld.so.conf and run "ldconfig" as root, which will force the cache to be rebuilt.

The dynamic linker should now know about all the libraries in this path. You can verify this by typing the above command once again:

$ ldconfig -p |grep libgdiplus

libgdiplus.so (libc6) => /usr/local/lib/libgdiplus.so

Yay! Your application should now run properly.

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...