You are not logged in.
I installed latetest 64bit bunsenlabs yesterday and trying various games. 32bit games do not run and can not find what I should do.
I have tried:
sudo dpkg --add-architecture i386
sudo apt update
but still 32bit executables do not work.
for example
$ ./PapersPlease
bash: ./PapersPlease: No such file or directory
this is a strange/stupid error message as there is such file and I am in the right directory of course
papers please (and other 32bit executables) does run fine on the same machine on my old 32bit crunchbang (debian wheezy) installation and also runs fine on my other computer with 64bit manjaro installation.
64bit executables run fine on bunsenlabs.
So what is missing that I need to do? I googled with no result
Offline
sudo apt-get install libc6-i386
Then do
ldd ./PapersPlease
and install any other missing dynamic libraries, or follow the instructions of the software.
Offline
nice
still does not work but I have progress (did not know about ldd)
$ ldd ./PapersPlease
linux-gate.so.1 (0xf77bb000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7786000)
libdl.so.2 => /lib32/libdl.so.2 (0xf7781000)
libstdc++.so.6 => not found
libm.so.6 => /lib32/libm.so.6 (0xf772c000)
libgcc_s.so.1 => not found
libc.so.6 => /lib32/libc.so.6 (0xf7575000)
/lib/ld-linux.so.2 (0xf77bd000)
how do I find these libraries?
Last edited by fanis (2018-05-20 10:31:18)
Offline
sudo apt-get install lib32gcc1 lib32stdc++6
Going from the Arch Linux ports definition @ https://aur.archlinux.org/packages/papersplease/, you're probably also going to need at least
libgl1-mesa-glx:i386
libgl1-mesa-glx
libasound2:i386
libpulse0:i386
Offline
nice
still does not work but I have progress (did not know about ldd)$ ldd ./PapersPlease linux-gate.so.1 (0xf77bb000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf7786000) libdl.so.2 => /lib32/libdl.so.2 (0xf7781000) libstdc++.so.6 => not found libm.so.6 => /lib32/libm.so.6 (0xf772c000) libgcc_s.so.1 => not found libc.so.6 => /lib32/libc.so.6 (0xf7575000) /lib/ld-linux.so.2 (0xf77bd000)
how do I find these libraries?
Try searching 'debian package libstdc++.so.6' and 'debian package libgcc_s.so.1'.
Based on search results, and looking for 32bit (Intel!) architecture, I should say you should install:
$ sudo apt-get install lib32stdc++6 libgcc1
or
$ sudo apt-get install lib32stdc++6 libgcc1:i386
Note: I'm not in position to test it ... therefore, be careful and don't do it if not sure how to revert your system back to previous state. You can always try to add switch '-s' to the 'apt-get' to simulate what will happen. I have a rule that if attempted install will not try to remove existing packages, and will install not too many dependencies, then it is probably safe to install the particular package. Also, if possible try it inside virtual machine.
(For example: of two packages above, on my setup I already have the second one, and the first one will install another two as dependency, only. I would consider it safe to install them.)
Last edited by iMBeCil (2018-05-20 11:49:34)
Postpone all your duties; if you die, you won't have to do them ..
Offline
@OP: this
$ ./PapersPlease
bash: ./PapersPlease: No such file or directory
actually may mean that the 'PapersPlease' is not marked as executable ... if you are positively definitely sure that you are in right directory.
You can check it with
$ ls -Al | grep Papers
(in the correct dir, of course).
Last edited by iMBeCil (2018-05-20 12:44:26)
Postpone all your duties; if you die, you won't have to do them ..
Offline
actually may mean that the 'PapersPlease' is not marked as executable ... if you are positively definitely sure that you are in right directory.
No.
The message in this case will be 'permission denied'.
Offline
^Quite ... you are right. My bad.
Postpone all your duties; if you die, you won't have to do them ..
Offline
multiarch-support is no longer needed in Debian Stretch?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Online
^ The OP claims to have already done that but I suppose we should check:
dpkg --print-foreign-architectures
Offline