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

error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory #47

Open
kpcyrd opened this issue Feb 17, 2022 · 1 comment

Comments

@kpcyrd
Copy link

kpcyrd commented Feb 17, 2022

I'm trying to build signal-desktop on Arch Linux, I get the following build failure. Is there a way to have electron-builder use the system fpm/ruby?

[build:release   ] Copying en-US.pak to lo.pak
[build:release   ] Copying en-US.pak to mk.pak
[build:release   ] Copying en-US.pak to nn.pak
[build:release   ] Copying en-US.pak to no.pak
[build:release   ] Copying en-US.pak to pa.pak
[build:release   ] Copying en-US.pak to ps.pak
[build:release   ] Copying en-US.pak to sq.pak
[build:release   ] Copying en-US.pak to ug.pak
[build:release   ] Copying en-US.pak to ur.pak
[build:release   ]   • building        target=deb arch=x64 file=release/signal-desktop_5.32.0_amd64.deb
[build:release   ]   • downloading     url=https://github.com/electron-userland/electron-builder-binaries/releases/download/fpm-1.9.3-2.3.1-linux-x86_64/fpm-1.9.3-2.3.1-linux-x86_64.7z size=5.0 MB parts=1
[build:release   ]   • downloaded      url=https://github.com/electron-userland/electron-builder-binaries/releases/download/fpm-1.9.3-2.3.1-linux-x86_64/fpm-1.9.3-2.3.1-linux-x86_64.7z duration=1.24s
[build:release   ]   ⨯ cannot execute  cause=exit status 127
[build:release   ]                     errorOut=/build/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/ruby/bin.real/ruby: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
[build:release   ]     
[build:release   ]                     command=/build/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/fpm -s dir --force -t deb -d libnotify4 -d libxtst6 -d libnss3 -d libasound2 -d libxss1 --deb-recommends libappindicator3-1 --deb-compression xz --architecture amd64 --after-install /tmp/t-fQEyjm/0-after-install --after-remove /tmp/t-fQEyjm/1-after-remove --description '
[build:release   ]      Private messaging from your desktop' --version 5.32.0 --package /build/signal-desktop/src/Signal-Desktop-5.32.0/release/signal-desktop_5.32.0_amd64.deb --name signal-desktop --maintainer 'Open Whisper Systems <[email protected]>' --url 'https://github.com/signalapp/Signal-Desktop#readme' --vendor 'Open Whisper Systems <[email protected]>' --deb-priority optional --license AGPL-3.0-only /build/signal-desktop/src/Signal-Desktop-5.32.0/release/linux-unpacked/=/opt/Signal /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/16x16.png=/usr/share/icons/hicolor/16x16/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/24x24.png=/usr/share/icons/hicolor/24x24/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/32x32.png=/usr/share/icons/hicolor/32x32/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/48x48.png=/usr/share/icons/hicolor/48x48/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/64x64.png=/usr/share/icons/hicolor/64x64/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/128x128.png=/usr/share/icons/hicolor/128x128/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/256x256.png=/usr/share/icons/hicolor/256x256/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/512x512.png=/usr/share/icons/hicolor/512x512/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/1024x1024.png=/usr/share/icons/hicolor/1024x1024/apps/signal-desktop.png /tmp/t-fQEyjm/2-Signal.desktop=/usr/share/applications/signal-desktop.desktop
[build:release   ]                     workingDir=
[build:release   ] error Command failed with exit code 1.
[build:release   ] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[build:release   ] error Command failed with exit code 1.
[build:release   ] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "build:release" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/kpcyrd/build
@ryanlelek
Copy link

You may need to install libxcrypt-compat
That should solve the libcrypt.so.1 error

CLI
sudo pacman -S --needed libxcrypt libxcrypt-compat

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

No branches or pull requests

2 participants