Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monodevelop will not run #16844

Closed
kragniz opened this issue Jul 10, 2016 · 2 comments
Closed

Monodevelop will not run #16844

kragniz opened this issue Jul 10, 2016 · 2 comments
Assignees

Comments

@kragniz
Copy link
Member

kragniz commented Jul 10, 2016

Issue description

Monodevelop won't start, complaining about not being able to find libgtk-x11-2.0.so.0 and libglib-2.0.so.0.

Steps to reproduce

Installing monodevelop from nixpkgs master (pulled this afternoon):

~/g/nixpkgs (master) $ nix-env -f /home/kragniz/git/nixpkgs/ -i monodevelop
replacing old ‘monodevelop-5.9.4.5’
installing ‘monodevelop-5.9.4.5’
~/g/nixpkgs (master) $ monodevelop --no-redirect
INFO [2016-07-10 19:56:04Z]: Starting MonoDevelop 5.9.4
INFO [2016-07-10 19:56:04Z]: Running on Mono 4.0.4 (Stable 4.0.4.1/5ab4c0d Tue Jul  5 17:11:12 UTC 2016) (64-bit)
INFO [2016-07-10 19:56:04Z]: Did not find previous version from which to migrate data
ERROR [2016-07-10 19:56:04Z]: Error initialising GLib logging.
System.DllNotFoundException: libglib-2.0.so.0
  at (wrapper managed-to-native) GLib.Marshaller:g_malloc (uintptr)
  at GLib.Marshaller.StringToPtrGStrdup (System.String str) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.Gui.GLibLogging+Log.SetLogHandler (System.String logDomain, LogLevelFlags flags, MonoDevelop.Ide.Gui.LogFunc logFunc) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.Gui.GLibLogging.set_Enabled (Boolean value) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions options) [0x00000] in <filename unknown>:0 
ERROR [2016-07-10 19:56:04Z]: MonoDevelop failed to start. Some of the assemblies required to run MonoDevelop (for example gtk-sharp)may not be properly installed in the GAC.
System.DllNotFoundException: libgtk-x11-2.0.so.0
  at (wrapper managed-to-native) Gtk.Rc:gtk_rc_get_module_dir ()
  at Gtk.Rc.get_ModuleDir () [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.IdeStartup.SetupTheme () [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions options) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.IdeStartup.Main (System.String[] args, MonoDevelop.Ide.Extensions.IdeCustomizer customizer) [0x00000] in <filename unknown>:0 

Technical details

  • System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
  • Nix version: (run nix-env --version)
  • Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
@vbgl
Copy link
Contributor

vbgl commented Jul 13, 2016

PR #16909 should fix the issue. The library paths in the wrapper were wrong since some packages have been split into multiple outputs.

Feedback welcome.

@kragniz
Copy link
Member Author

kragniz commented Jul 16, 2016

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants