title: OSX and chroot unable to find /bin/bash
body: <p>I am trying to get chroot to work on my mac book.  I setup the jail dir to contain all the requirements for /bin/sh and /bin/bash (recursively called /usr/bin/otool)</p>
  
  <pre><code># ls /var/chroot/*/*
  /var/chroot/bin/bash    /var/chroot/bin/sh
  
  /var/chroot/usr/lib:
  libDiagnosticMessagesClient.dylib       libauto.dylib
  libc++abi.dylib                         libobjc.A.dylib
  libSystem.B.dylib                       libc++.1.dylib
  libncurses.5.4.dylib                    system
  </code></pre>
  
  <p>when I try to use chroot on /var/chroot, it keeps saying it can't find /bin/bash</p>
  
  <pre><code># chroot /var/chroot/
  chroot: /bin/sh: No such file or directory
  $ sudo chroot /var/chroot/
  chroot: /bin/bash: No such file or directory
  </code></pre>
  
  <p>Any idea whats causing chroot not to work on my mac?</p>
  
  <p>OSX version 10.8.4</p>
  
  <p>Edit:
  On CentOS, when I run ldd /bin/bash, I get all the libs needed.  If I don't copy them all over, it says /bin/bash: No such file or directory.  So I assume that this means that on mac I am missing libs; just not sure which.</p>