How to run the executable file in the shell ./aapt? Absurd. I tried to issue the file chmod + x, run through shebang #! / Bin / sh, also run from another user. Does not work

Does not work. What's wrong? something like this

Here is the conclusion of rights the rights

  • five
    text information is better to attach as text: a) easier to read; b) can be copied; c) the search works. You can correct the question text by clicking below to edit the question text - aleksandr barakin
  • The file aapt will tell you everything. If not all, then there is still ldd aapt . - 0andriy
  • @ 0andriy Here's the output: root @ 173188: / # file ./aapt ./aapt: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter / lib / ld-, for GNU / Linux 2.6.15, not stripped root @ 173188: / # ldd aapt not a dynamic executable - Valery Ivanov

1 answer 1

I decided, I do not know what it is, but it helped in the end:

 sudo apt-get install lib32z1 
  • one
    file aapt showed you everything: a 32-bit binary is launched on a 64-bit system. This requires multilib support. And by happy coincidence, you pulled a package that brought the desired dependency. However, this method is a hack, you had to do it correctly by installing the libc:i386 package libc:i386 . - 0andriy