Giter VIP home page Giter VIP logo

Comments (4)

joshirio avatar joshirio commented on September 1, 2024

Stuck at the moment on #50 because of the following error on launch:

../symphytum-snap/snap$ symphytum 
snap libpthread.so.0: symbol __mmap, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference [...]

relocation error: /snap/symphytum/1/lib/x86_64-linux-gnu/libdl.so.2: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference[...]

This happens because one is supposed to build snaps on Ubuntu 16.04, but since the shipped Qt version is too old (no HiDPI call which is used in main.cpp). It needs at least Qt 5.6.

So I will pause this until 18.04 LTS is released.
Or is there another way?

from symphytum.

joshirio avatar joshirio commented on September 1, 2024

Looks like using a development version of snapcraft (from snap store itself) helps, maybe they fixed the bug.

sudo apt autoremove snapcraft
sudo snap install --edge snapcraft

from symphytum.

joshirio avatar joshirio commented on September 1, 2024

python glib err

Now stuck with python due to same issue. OK waiting for 18.04 it is then...

from symphytum.

joshirio avatar joshirio commented on September 1, 2024

A basic snap package, including python dropbox sdk, for 16.04 works so far with latest work in #50.

Unresolved issues:

  • HiDPI disabled until 18.04 ships which has updated Qt libs for packaging, since it works only on 16.04
  • Snap fails to open links which use QDesktopServices::openurl(), oddly enough 16.04 opens browser links but same doesn't work on 17.10+ or on other distros like Arch. I guess this will be solved when snapd implements the xdg-open thing and other snapcraft updates.

After many hours of trying to make snaps work, I have to say this is stil way too immature, and so far the integration also sucks (mouse cursor, theming, file dialogs, .etc..). Snapcraft is supposed to make distribution for devs easier, but quite the contrary at this point.

Going to merge the basic snap support while waiting for a better state before shipping it.

from symphytum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.