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

libgconf-2.so.4 not included #653

Closed
Lizard-13 opened this issue Sep 18, 2018 · 15 comments
Closed

libgconf-2.so.4 not included #653

Lizard-13 opened this issue Sep 18, 2018 · 15 comments
Labels
😇A workaround exists There is a way to bypass this bug or missing feature

Comments

@Lizard-13
Copy link
Contributor

Lizard-13 commented Sep 18, 2018

Describe the bug

Ubuntu 18.04 (I think 17.04+) doesn't include libgconf-2.so.4 library by default, making it impossible to launch GD5. Reported here: http://forum.compilgames.net/viewtopic.php?f=18&t=10678#p68148

Other details

It can be fixed installing it with sudo apt-get install libgconf-2-4 (confirmed).
Maybe it should be included with the AppImage?

@4ian
Copy link
Owner

4ian commented Sep 18, 2018

I wonder if it's an issue with Ubuntu not including this library by default 🤔
Or if it was something that is added in latest version of Electron / electron-builder - so upgrading electron-builder could fix this.

Maybe it should be included with the AppImage?

Well I remember including libraries with GD4 and it was generally a bad idea for compatibility on Linux. I would rather try to find why an Electron app (GD5) is not running as is without installing extra libraries on Ubuntu 18.04, which seems strange!

@4ian 4ian added the 😇A workaround exists There is a way to bypass this bug or missing feature label Sep 18, 2018
@blurymind
Copy link
Contributor

I think thats a gnome library. Didn't ubuntu recently move back to using gnome-shell?
If you are only with Unity desktop you might not have it

@Lizard-13
Copy link
Contributor Author

The user reporting it confirms that installing the missing lib solves the problem :)

@4ian
Copy link
Owner

4ian commented Sep 19, 2018

Yeah that's the issue of this missing library. I wonder if other software got the same issue?

@blurymind
Copy link
Contributor

blurymind commented Sep 19, 2018

@4ian it's very common on linux :)
I think this is a non-issue for gdevelop

@Lizard-13
Copy link
Contributor Author

electron/electron#1518

@4ian
Copy link
Owner

4ian commented Sep 23, 2018

I think I could add some help maybe about this on the website? What do you think?

@Lizard-13
Copy link
Contributor Author

Yeah, an advice and the command to install the lib in the download section should be enough.

@4ian
Copy link
Owner

4ian commented Sep 24, 2018

Added this when the Linux button is hovered or clicked :)

image

@4ian
Copy link
Owner

4ian commented Sep 24, 2018

Closing as this should be enough to inform new Linux users about this! :)

@4ian 4ian closed this as completed Sep 24, 2018
@probonopd
Copy link

Please provide an AppImage, and please bundle libgconf2-4 inside it. Thank you very much.

Providing an AppImage would have, among others, these advantages:

  • Applications packaged as an AppImage can run on many distributions (including Ubuntu, Fedora, openSUSE, CentOS, elementaryOS, Linux Mint, and others)
  • One app = one file = super simple for users: just download one AppImage file, make it executable, and run
  • No unpacking or installation necessary
  • No root needed
  • No system libraries changed
  • Works out of the box, no installation of runtimes needed
  • Optional desktop integration with appimaged
  • Optional binary delta updates, e.g., for continuous builds (only download the binary diff) using AppImageUpdate
  • Can optionally GPG2-sign your AppImages (inside the file)
  • Works on Live ISOs
  • Can use the same AppImages when dual-booting multiple distributions
  • Can be listed in the AppImageHub central directory of available AppImages
  • Can double as a self-extracting compressed archive with the --appimage-extract parameter

@4ian
Copy link
Owner

4ian commented Oct 14, 2018

If you want to try it by yourself, you can give it a go by following the setup instructions from the README (https://github.com/4ian/GDevelop/blob/master/newIDE/README.md#installation) and then building the app package: https://github.com/4ian/GDevelop/blob/master/newIDE/README.md#desktop-version

The packaging is done using electron-builder, you can try appimage by launching:

cd newIDE/electron-app
npm run build --linux AppImage

I don't have much time to test this on Linux, so any help if welcome :)

EDIT: Also created https://trello.com/c/ySX0iU8t/172-package-gdevelop-5-as-an-appimage-for-linux

@probonopd
Copy link

libgconf-2.so.4 definitely needs to be bundled inside the AppImage so that users won't have to install it.

@probonopd
Copy link

Also, the AppImage seems to be missing from https://gdevelop-app.com/download/?

@4ian
Copy link
Owner

4ian commented Mar 3, 2019

Also, the AppImage seems to be missing from https://gdevelop-app.com/download/?

It was never distributed ;) I still distribute a .tar.gz for now. https://trello.com/c/ySX0iU8t/172-package-gdevelop-5-as-an-appimage-for-linux is the feature request. Any help is welcome to test that this works on a variety of distributiosn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
😇A workaround exists There is a way to bypass this bug or missing feature
Projects
None yet
Development

No branches or pull requests

4 participants