If you are trying to run a 32bit program while within the 64bit userspace (ie not in the chroot) then you must be able to find the linker ld.so and any libraries.
The howto showed how to put the chroot library paths into /etc/ld.so.conf and you must also have a symlink in /lib to the ld-linux.so file in your chroot
Code:
hugh@polybius:/lib$ ls -l ld*
-rwxr-xr-x 1 root root 97904 2005-08-31 03:00 ld-2.3.5.so
lrwxrwxrwx 1 root root 32 2005-09-16 15:42 ld-linux.so.2 -> /emul/ceasar/lib/ld-2.3.2.so
lrwxrwxrwx 1 root root 11 2005-09-10 01:44 ld-linux-x86-64.so.2 -> ld-2.3.5.so
In 64bit space if your run "ldd myprog" you should get this linker and any libraries shown. For example:
Code:
hugh@polybius:~/Programs/surf2/bin$ ldd surface
linux-gate.so.1 => (0x00000000)
libstdc++.so.5 => /emul/ceasar/usr/lib/libstdc++.so.5 (0x55675000)
libm.so.6 => /emul/ceasar/lib/tls/libm.so.6 (0x5572f000)
libgcc_s.so.1 => /emul/ceasar/usr/lib/libgcc_s.so.1 (0x55751000)
libc.so.6 => /emul/ceasar/lib/tls/libc.so.6 (0x5575c000)
libdl.so.2 => /emul/ceasar/lib/tls/libdl.so.2 (0x560d1000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x55555000)