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

Bundled opj_decompress depends on shared library #2636

Closed
mykter opened this issue Feb 24, 2018 · 1 comment
Closed

Bundled opj_decompress depends on shared library #2636

mykter opened this issue Feb 24, 2018 · 1 comment
Labels

Comments

@mykter
Copy link

mykter commented Feb 24, 2018

  • Version: 20.2.0
  • Target: snap

On trusty (latest travis distro) I get:
output: /home/travis/.cache/electron-builder/appimage/appimage-9.0.7/linux-x64/opj_decompress: error while loading shared libraries: libopenjp2.so.7: cannot open shared object file: No such file or directory

I think the corresponding package would be libopenjp2-7-dev, but this isn't available on trusty. I tried with libopenjpeg-dev but got the same error.

execute command           args=[/home/travis/.cache/electron-builder/appimage/appimage-9.0.7/linux-x64/opj_decompress -quiet -i /home/travis/build/mykter/TagTime-desktop/dist/.icon-set/icon_ic08.jp2 -o /home/travis/build/mykter/TagTime-desktop/dist/.icon-set/icon_256.png] path=/home/travis/.cache/electron-builder/appimage/appimage-9.0.7/linux-x64/opj_decompress
  • execute command           args=[/home/travis/.cache/electron-builder/appimage/appimage-9.0.7/linux-x64/opj_decompress -quiet -i /home/travis/build/mykter/TagTime-desktop/dist/.icon-set/icon_ic09.jp2 -o /home/travis/build/mykter/TagTime-desktop/dist/.icon-set/icon_512.png] path=/home/travis/.cache/electron-builder/appimage/appimage-9.0.7/linux-x64/opj_decompress
  ⨯ exit status 127
output: /home/travis/.cache/electron-builder/appimage/appimage-9.0.7/linux-x64/opj_decompress: error while loading shared libraries: libopenjp2.so.7: cannot open shared object file: No such file or directory
  • exited          command=app-builder code=1 pid=29290
  • async task error error=/home/travis/build/mykter/TagTime-desktop/node_modules/app-builder-bin-linux/x64/app-builder exited with code 1
Error: /home/travis/build/mykter/TagTime-desktop/node_modules/app-builder-bin-linux/x64/app-builder exited with code 1
    at ChildProcess.childProcess.once.code (/home/travis/build/mykter/TagTime-desktop/node_modules/builder-util/src/util.ts:252:14)
    at Object.onceWrapper (events.js:317:30)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
From previous event:
    at LinuxPackager.resolveIcon (/home/travis/build/mykter/TagTime-desktop/node_modules/electron-builder-lib/out/platformPackager.js:610:11)
    at /home/travis/build/mykter/TagTime-desktop/node_modules/electron-builder-lib/src/targets/LinuxTargetHelper.ts:43:35
    at Generator.next (<anonymous>)
From previous event:
    at LinuxTargetHelper.computeDesktopIcons (/home/travis/build/mykter/TagTime-desktop/node_modules/electron-builder-lib/out/targets/LinuxTargetHelper.js:73:11)

From: https://travis-ci.org/mykter/TagTime-desktop/jobs/345664872

@develar-vacation
Copy link

Workaround:

on trusty install openjpeg-tools
And set env USE_SYSTEM_OPG to true to ensure (maybe will work without but to be sure).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants