NordicSemiconductor/pc-nrfconnect-launcher

nrf connect apps do not launch on linux mint 17.3

bobatsar opened this issue · 6 comments

I just installed the nrfconnect 2.3.0 via the Appimage (first time I see an Appimage).
The software starts but when I want to start an APP (e.g. RSSIViewer), it hangs.

It seems the libstdc++ is too old. Can you build the appimage also for older versions?
Mint 17.3 is based on Ubuntu 14.4.

Console Output

/tmp/.mount_nrfconJhsrcS/app/resources/app.asar/node_modules/bindings/bindings.js:88 Uncaught Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /tmp/.org.chromium.Chromium.t4TB5z)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
    at Object.Module._extensions..node (module.js:598:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:187:18)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at bindings (/tmp/.mount_nrfconJhsrcS/app/resources/app.asar/node_modules/bindings/bindings.js:81:44)
    at Object.<anonymous> (/tmp/.mount_nrfconJhsrcS/app/resources/app.asar/node_modules/pc-nrfjprog-js/index.js:37:38)

This seems to originate in pc-nrfjprog-js, which in turn is loading a bunch of other binary libraries.

@CoqRogue: Are you aware of any libstcd++ for nrfjprog-js, or the hi-level jprog stuff, or segger's jlink libs?

It seems you changed something in the apps and the error disappeared. But the app still does not start and the turning wheel keeps turning.
Is there any way to get debugging output what could be the reason?

We have not added a fix for this issue yet. Debugging information can be seen by pressing Ctrl+Shift+I while the app is running/loading.

Oh yes, you are right.
I thought I have seen these errors on the command line last time but they were also in the debugging console, and are still there :-(

Is there any update planed to fix this issue? I really would like to try the new PPK app and to use the existing ble apps.

This is something we want to fix of course, but I suspect it may take a few weeks still. There are some other tasks that have higher priority at the moment. If possible, I would recommend upgrading to Mint 18, so that you get a more recent libstdc++.

@bobatsar I'm afraid we do not plan to add AppImage binaries for older versions/distros. Closing as wontfix.