Closed Bernmeister closed 9 years ago
@Bernmeister Thanks again.
I was able to reproduce this issue on a fresh Ubuntu 14.04 (64-bit) in virtual machine.
A quick hack that solved the issue for me is: sudo ln -s /lib/x86_64-linux-gnu/libglib-2.0.so.0 /lib/x86_64-linux-gnu/libglib-2.0.so
Haven't found a better solution yet.
Another solution is to install the package libglib2.0-dev
. This adds the /usr/lib/x86_64-linux-gnu/libglib-2.0.so -> /lib/x86_64-linux-gnu/libglib-2.0.so.0
symlink.
I think, I am going to add this package to the Depends:
section in the debian/control
file.
However, it doesn't feel right. Shouldn't the /usr/lib/x86_64-linux-gnu/libglib-2.0.so
symlink be in the libglib2.0-0
package (not the dev
package).
fixed with 3cf492410f573da07afea64335f83fb11871d293
Running from a terminal and then clicking on Help yields:
$ /usr/bin/indicator-stocks Marshaling activate signal Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: glib-2.0.dll at (wrapper managed-to-native) indicatorstocks.Indicator:g_get_language_names () at indicatorstocks.Indicator.OnHelp (System.Object sender, System.EventArgs args) [0x00000] in:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in :0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in :0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in :0
at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in :0
at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in :0
at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in :0
at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
at Gtk.Application.gtk_main()
at Gtk.Application.Run()
at indicatorstocks.IndicatorStocks.Main(System.String[] args)
(indicator-stocks:2150): GLib-CRITICAL **: Source ID 24 was not found when attempting to remove it