Hi Michael,
I remove gcc-arm-linux-gnueabi from the server and run ldd ./arm-linux-gnueabi-gcc again.
r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ldd ./arm-linux-gnueabi-gcc linux-gate.so.1 => (0xf773c000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf762f000) libm.so.6 => /lib32/libm.so.6 (0xf7605000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf75e9000) libdl.so.2 => /lib32/libdl.so.2 (0xf75e4000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf75c6000) libc.so.6 => /lib32/libc.so.6 (0xf744c000) /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf773d000) 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
It seems arm-linux-gnueabi-gcc still can't work. But some address changed in running ldd command.
Thanks~~
Yours Terry
-----Original Message----- From: Lv Terry-R65388 Sent: 2012年1月11日 13:51 To: 'Michael Hope' Cc: linaro-toolchain@lists.linaro.org Subject: RE: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Hi Michael,
r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ldd ./arm-linux-gnueabi-gcc linux-gate.so.1 => (0xf77d0000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf76c3000) libm.so.6 => /lib32/libm.so.6 (0xf7699000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf767d000) libdl.so.2 => /lib32/libdl.so.2 (0xf7678000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf765a000) libc.so.6 => /lib32/libc.so.6 (0xf74e0000) /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf77d1000)
Previous one should be wrong. That's the system gcc-arm.
Thanks~~
Yours Terry
-----Original Message----- From: Michael Hope [mailto:michael.hope@linaro.org] Sent: 2012年1月11日 13:37 To: Lv Terry-R65388 Cc: linaro-toolchain@lists.linaro.org Subject: Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
2012/1/11 Lv Terry-R65388 r65388@freescale.com:
Hi Michael,
Actually, I've already have ia32-libs and ia32-libs-multiarch installed.
r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install ia32-libs Reading package lists... Done Building dependency tree Reading state information... Done ia32-libs is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. r65388@shlinux3:~/toolchain_ltib/ltib$ sudo apt-get install ia32-libs-multiarch Reading package lists... Done Building dependency tree Reading state information... Done ia32-libs-multiarch:i386 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. r65388@shlinux3:~/toolchain_ltib/ltib$ ~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl -linux-gnueabi/bin/arm-linux-gnueabi-gcc -bash: /home/r65388/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011 .12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc: No such file or directory
Do you have more suggestions?
Is it linking to a wrong library?
Hmm, interesting. What does ldd show? Here's what I see on my Lucid box:
michaelh@crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$ ldd arm-linux-gnueabi-gcc linux-gate.so.1 => (0xf77c5000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf76a9000) libm.so.6 => /lib32/libm.so.6 (0xf7683000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf7669000) libdl.so.2 => /lib32/libdl.so.2 (0xf7665000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7646000) libc.so.6 => /lib32/libc.so.6 (0xf74ec000) /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf77c6000)
-- Michael