On Wed, Jan 11, 2012 at 7:48 PM, Lv Terry-R65388 r65388@freescale.com wrote:
Hi Michael,
Here's the output.
r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ./arm-linux-gnueabi-gcc -bash: ./arm-linux-gnueabi-gcc: No such file or directory
r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ls -la /lib/ld* lrwxrwxrwx 1 root root 25 2011-10-05 06:07 /lib/ld-linux.so.2 -> i386-linux-gnu/ld-2.13.so
Seems I know the reason now "/lib/ld-linux.so.2 -> i386-linux-gnu/ld-2.13.so". But I don't know why this happen.
Here's the same from my fresh install of Ubuntu 11.04 x86_64 server + ia32-libs + lsb:
cbuild@crucis-natty:~$ ls -la /lib/ld-* lrwxrwxrwx 1 root root 20 2012-01-11 11:23 /lib/ld-linux.so.2 -> /lib32/ld-linux.so.2 lrwxrwxrwx 1 root root 27 2012-01-11 09:15 /lib/ld-linux-x86-64.so.2 -> x86_64-linux-gnu/ld-2.13.so lrwxrwxrwx 1 root root 13 2012-01-11 11:24 /lib/ld-lsb.so.1 -> ld-linux.so.2 lrwxrwxrwx 1 root root 13 2012-01-11 11:24 /lib/ld-lsb.so.2 -> ld-linux.so.2 lrwxrwxrwx 1 root root 13 2012-01-11 11:24 /lib/ld-lsb.so.3 -> ld-linux.so.2 lrwxrwxrwx 1 root root 25 2012-01-11 11:24 /lib/ld-lsb-x86-64.so.2 -> /lib/ld-linux-x86-64.so.2 lrwxrwxrwx 1 root root 25 2012-01-11 11:24 /lib/ld-lsb-x86-64.so.3 -> /lib/ld-linux-x86-64.so.2
I wonder where the funny symlink came from? Does a dpkg -S ld-2.13 tell you?
You mentioned a ia32-libs-multiarch package before. What is this and where does it come from?
-- Michael