Problem running binaries ( "no such file or directory" )
#1
Tue, 2015-05-19 01:26
pelle
-
- Offline
- 2 years 10 months ago
- 2015-05-19
Hi all,
I've just started using Alpine Linux (32-bit), and I like how smooth it runs even on modest hardware. Big thanks for making this neat minimal distro w/o systemd and pulseaudio.
I have a little problem in Alpine. When I download precompiled ELF binaries, they fail to run, like newest versions of Firefox or Racket (both 32-bit Linux versions from their respective webpages), with the message "no such file or directory" even though the file is present and has permission to run.
$ file firefox firefox: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=2374d5609a96e393c9aef73284879a6260d446f3, stripped $ ./firefox zsh: no such file or directory: ./firefox
Those same binaries work fine under Puppy Linux (Precise Puppy) and Debian.
Is it because of Alpine using musl instead of glibc? Any idea for a fix or workaround, for running newest Firefox et al?
Although musl is somewhat ABI compatible, not all binaries will work.
We have Firefox in aports. It should be recent enough.
Thanks, just curious as to what was causing it. The Firefox packaged for Alpine is good. However I was also trying to run modified Firefox like Tor Browser Bundle (and new Firefox with Firefox Hello). Running the Window versions with Wine fails, and Tor in Alpine errors with:
Apart from that, a lot of free software runs very well in Wine. I was just encountering issues with these particular programs.
you need libevent@edge for tor to work.
for this add "@edge http;//your_repo/edge/main" in /etc/apk/repositories,
then apk update
then apk add libevent@edge