Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

The host is a Ubuntu 12.04 64-bit installation.

I'm using schroot to run chroots for several different Linux systems, such as Ubuntu 10.04 i386. The files for the chroots stem from working VirtualBoxes and are rsynced to my host.

This setup works perfectly fine for all i386 chroots I have. But Ubuntu 12.04 amd64 does not work. Any command I try to execute via schroot reports this:

E: Failed to execute “some_command”: No such file or directory

The original system I'm trying to chroot into works without problems (in its VirtualBox). Is there something special that needs to be set-up for 64bit chroots?

Again, my host is a 64bit Linux, so this not the usual problem with 32bit hosts trying to chroot into a 64bit installation.

share|improve this question
    
maybe it is related with this question: stackoverflow.com/questions/3074512/… –  logoff Feb 22 '13 at 14:16
    
nope, I found the problem in the rsync script which fails to sync the /lib64 directory. –  ifschleife Feb 22 '13 at 14:33
    
and have you found the solution? if yes, write an answer, please. –  logoff Feb 26 '13 at 8:22
    
Sorry, I meant to write my answer but had to wait for 8 hours or so. And then I forgot. I don't know if that answer is very helpful for anyone else. –  ifschleife Feb 26 '13 at 15:11
    
it is the answer for your question, and we don't know if anyone else has the same problem. try to solve your question and mark the response as the correct, please. –  logoff Feb 26 '13 at 15:21

1 Answer 1

up vote 0 down vote accepted

As it turns out the rsync script did not sync the /lib64 directory to my host. Without it, no command will execute of course.

The lib64 dir contains only one symlink to the ld lib in /lib. But that's one very important symlink.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.