Under Review
over 1 year ago

Simulator not working on Ubuntu 19.04

Hello,

I tried to run the ConnectIQ on Ubuntu 19.04 but finally had to give up trying to fix all those missing libraries:

~/ConnectIQ/bin $ ./simulator
./simulator: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
~/ConnectIQ/bin $ ./simulator
./simulator: error while loading shared libraries: libjavascriptcoregtk-1.0.so.0: cannot open shared object file: No such file or directory
~/ConnectIQ/bin $ ./simulator
./simulator: error while loading shared libraries: libwebkitgtk-1.0.so.0: cannot open shared object file: No such file or directory
~/ConnectIQ/bin $ ./simulator
./simulator: error while loading shared libraries: libicui18n.so.60: cannot open shared object file: No such file or directory
~/ConnectIQ/bin $ ./simulator
./simulator: symbol lookup error: /usr/lib/x86_64-linux-gnu/libwebkitgtk-1.0.so.0: undefined symbol: _ZNK3WTF6String5splitEDsbRNS_6VectorIS0_Lm0ENS_15CrashOnOverflowEEE

Please provide all relevant libraries inside the SDK or inside the Eclipse plugin, so people don't have to search for fitting library versions.

Other solution would be a statically linked simulator.

Parents
  • I forgot to mention: The libpng12 comes with som snaps in ubuntu. I think I have copied that library to /usr/lib/x86_64-linux-gnu/libpng12.so.0

    It was for example in /snap/spotify/36/lib/x86_64-linux-gnu/libpng12.so.0

    so do:

    sudo cp /snap/spotify/36/lib/x86_64-linux-gnu/libpng12* /usr/lib/x86_64-linux-gnu/

    After that I guess an ldconfig is required:

    sudo ldconfig

Comment
  • I forgot to mention: The libpng12 comes with som snaps in ubuntu. I think I have copied that library to /usr/lib/x86_64-linux-gnu/libpng12.so.0

    It was for example in /snap/spotify/36/lib/x86_64-linux-gnu/libpng12.so.0

    so do:

    sudo cp /snap/spotify/36/lib/x86_64-linux-gnu/libpng12* /usr/lib/x86_64-linux-gnu/

    After that I guess an ldconfig is required:

    sudo ldconfig

Children