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

libreadline.so.6 required but libreadline.so.7 is the current version, build fails #993

Closed
daikiuk opened this issue Dec 12, 2016 · 7 comments
Labels

Comments

@daikiuk
Copy link
Contributor

daikiuk commented Dec 12, 2016

  • Version: 6.7.7
  • Target: --x64

Unhandled rejection Error: Exit code: 127. Command failed: /home/daniel/.cache/electron-builder/AppImage/AppImage-09-07-16-linux/xorriso -joliet on -volid AppImage -dev /home/daniel/Dev/xt/curo/curo-electron/dist/Curo-0.1.0-x86_64.AppImage -padding 0 -map /home/daniel/Dev/xt/curo/curo-electron/dist/linux-unpacked /usr/bin -map /home/daniel/Dev/xt/curo/curo-electron/node_modules/electron-builder/templates/linux/AppRun.sh /AppRun -map /tmp/electron-builder-Na3OzB/0-2-Curo.desktop /curo.desktop -map /tmp/electron-builder-Na3OzB/0-1-linux.iconset/icon_16x16x32.png /usr/share/icons/default/16x16/apps/Curo.png -map /tmp/electron-builder-Na3OzB/0-1-linux.iconset/icon_24x24x32.png /usr/share/icons/default/24x24/apps/Curo.png -map /tmp/electron-builder-Na3OzB/0-1-linux.iconset/icon_32x32x32.png /usr/share/icons/default/32x32/apps/Curo.png -map /tmp/electron-builder-Na3OzB/0-1-linux.iconset/icon_48x48x32.png /usr/share/icons/default/48x48/apps/Curo.png -map /tmp/electron-builder-Na3OzB/0-1-linux.iconset/icon_64x64x32.png /usr/share/icons/default/64x64/apps/Curo.png -map /tmp/electron-builder-Na3OzB/0-1-linux.iconset/icon_96x96x32.png /usr/share/icons/default/96x96/apps/Curo.png -map /tmp/electron-builder-Na3OzB/0-1-linux.iconset/icon_128x128x32.png /usr/share/icons/default/128x128/apps/Curo.png -map /tmp/electron-builder-Na3OzB/0-1-linux.iconset/icon_256x256x32.png /usr/share/icons/default/256x256/apps/Curo.png -map /tmp/electron-builder-Na3OzB/0-1-linux.iconset/icon_512x512x32.png /usr/share/icons/default/512x512/apps/Curo.png -map /tmp/electron-builder-Na3OzB/0-1-linux.iconset/icon_256x256x32.png /.DirIcon -chown_r 0 / -- -zisofs level=9:block_size=128k:by_magic=off set_filter_r --zisofs /
/home/daniel/.cache/electron-builder/AppImage/AppImage-09-07-16-linux/xorriso: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory

/home/daniel/.cache/electron-builder/AppImage/AppImage-09-07-16-linux/xorriso: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory

@develar
Copy link
Member

develar commented Dec 17, 2016

Could you please try to install xorriso package?

@daikiuk
Copy link
Contributor Author

daikiuk commented Dec 19, 2016

I have installed https://www.archlinux.org/packages/extra/x86_64/libisoburn/ error remains. was able to solve it by sym link sudo ln -s libreadline.so.7.0 libreadline.so.6

@develar
Copy link
Member

develar commented Dec 27, 2016

Workaround:

sudo apt-get install -y xorriso
ln -sf /usr/bin/xorriso ~/.cache/electron-builder/AppImage/AppImage-09-07-16-linux/xorriso

@develar
Copy link
Member

develar commented Feb 12, 2017

Workaround: Install xorriso (sudo apt-get install xorriso -y) and set env USE_SYSTEM_XORRISO=true (10.13.1+)

@develar develar reopened this Feb 12, 2017
@belltown
Copy link

belltown commented Apr 2, 2017

As a workaround, this has been working for me without having to install anything else:

cd /lib/x86_64-linux-gnu
sudo ln -s libreadline.so.7.0 libreadline.so.6

@BaptN
Copy link

BaptN commented Apr 10, 2017

Encountered this issue with electron-builder 16.6.1, on an updated Arch x64.
Installing xorriso and having ENV set to use it did not change anything, but the symlink trick allowed me to build, so I'll go with it for now ...

@saveman71
Copy link

For what it's worth, installing the package and having the ENV variable set did the trick as of today for me on an updated Arch x64.

develar added a commit to develar/electron-builder that referenced this issue Oct 2, 2017
develar added a commit to develar/electron-builder that referenced this issue Oct 2, 2017
develar added a commit to develar/electron-builder that referenced this issue Oct 2, 2017
develar added a commit to develar/electron-builder that referenced this issue Oct 2, 2017
@develar develar closed this as completed in c8cd76a Oct 2, 2017
huiyifyj added a commit to huiyifyj/dotfiles that referenced this issue Mar 30, 2020
- Add annotations about AdoptOpenJDK and lua binaries download link.
- Add annotations about how to solve problem that can't find 'libreadline.so.6' file during using lua.
  Reference link: electron-userland/electron-builder#993.
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

5 participants