Under Review
over 2 years ago

Upgrade SDK deps so modern Linux distros work.

I can't use the simulator and thus connectiq on Fedora 30.  I assume all modern distros are affected because libwebkitgtk-1.0.so.0 is way too old to be included or even available on current generation distributions.

Please update your deps or better yet compile the simulator statically so it doesn't require ancient libraries.

  • I cannot run the simulator on any modern distro. It's ridiculous that this has been an ignored problem for more than 2 years.

  • So how does the SDK work under linux (I use Arch Linux) currently?

    First it complains about missing: libwebkitgtk-1.0.so.0
    Which can be be installed at least via AUR: webkitgtk2

    Then it complains about missing: libicui18n.so.68
    So I downgraded the icu package to 68.2 (had to ignore the dependencies here which probably breaks other things)

    Well and then comes the catch, now it complains about missing: libicuuc.so.69
    Which is also from the very same icu package....

    So well, what are linux users supposed to do now?

  • Same problem here, I tried to install the SDK in Debian 10 but, after downloading the old libwebkitgtk-1.0.so.0 from past the "Jessie" version. now I have this error:

     ./sdkmanager: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory

  • After installing Kubuntu I download some older libraries that the SDK wants and things go well until CIQ SDK 3.2 series. 3.1.9 runs really well and normal. However, later versions has NullPointerException error due to some Json thing and I couldn't solve it. So I cannot use newer than 3.1.9 SDK's.

    A simple built results in this list:

    BUILD: ERROR: null
    BUILD: java.lang.NullPointerException
    BUILD: at com.garmin.connectiq.common.devices.DevicesJsonReader.parseResolution(DevicesJsonReader.java:554)
    BUILD: at com.garmin.connectiq.common.devices.DevicesJsonReader.loadDeviceFromElement(DevicesJsonReader.java:390)
    BUILD: at com.garmin.connectiq.common.devices.DevicesJsonReader.read(DevicesJsonReader.java:316)
    BUILD: at com.garmin.connectiq.common.devices.DevicesJsonReader.read(DevicesJsonReader.java:299)
    BUILD: at com.garmin.connectiq.common.devices.DevicesJsonReader.read(DevicesJsonReader.java:297)
    BUILD: at com.garmin.monkeybrains.devices.DeviceManager.readStreamIntoDevicesJsonReader(DeviceManager.java:48)
    BUILD: at com.garmin.monkeybrains.devices.DeviceManager.<init>(DeviceManager.java:71)
    BUILD: at com.garmin.monkeybrains.Monkeybrains.loadDeviceManager(Monkeybrains.java:351)
    BUILD: at com.garmin.monkeybrains.Monkeybrains.run(Monkeybrains.java:2290)
    BUILD: at com.garmin.monkeybrains.Monkeybrains.simpleMain(Monkeybrains.java:252)
    BUILD: at com.garmin.monkeybrains.Monkeybrains.main(Monkeybrains.java:281)

  • This worked for me on Ubuntu 20.04.1 LTS

    sudo nano /etc/apt/sources.list

    Add this entry to the file and save:
    deb cz.archive.ubuntu.com/ubuntu bionic main universe

    sudo apt-get update
    sudo apt-get install libwebkitgtk-1.0-0