I have currently a strange problem on debian (wheezy/amd64).
I have created a chroot to install a server (i can't give any more detail about it, sorry). Let's call its path
To make things easy, I have initialized this chroot with a debootstrap (also wheezy/amd64).
All seemed to work well inside the chroot but when I started the installer script of my serveur I got :
zsh: Not found /some_path/perl (the installer includes a perl binary for some reasons)
Naturally, I checked the
/some_path/ location and I found the "perl" binary.
file in chroot environment returns :
/some_path/perl ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
The file exists, seems ok, has correct rights. I can use
vim on it but as soon as I try to execute it -
./perl for example - I get :
zsh: Not found ./perl.
This situation is quite ununderstable for me. Moreover :
- I can execute other basic binaries (/bin/ls,...) in the chroot without getting errors
- I have the same problems for other binaries that came with the project
- When I try to execute the binary from the main root (
/chr_path/some_path/perl), it works.
- I have tried to put one of the binaries with a copy of my
ls. I checked that the access rights were the same but this didn't change anything (one was working, and the other wasn't)