Hi Michael,
The Ubuntu server already have a gcc-linaro toolchain installed by "sudo apt-get install gcc-arm-linux-gnueabi".
Will this prevent the running of the new linaro toolchain?
Thanks~~
Yours Terry
-----Original Message----- From: linaro-toolchain-bounces@lists.linaro.org [mailto:linaro-toolchain-bounces@lists.linaro.org] On Behalf Of Lv Terry-R65388 Sent: 2012年1月11日 12:54 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,
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?
Thanks~~
Yours Terry
-----Original Message----- From: Michael Hope [mailto:michael.hope@linaro.org] Sent: 2012年1月11日 6:49 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/10 Lv Terry-R65388 r65388@freescale.com:
The arm-linux-gnueabi-gcc's attribute is: r65388@shlinux3:~/MEMCPYBM$ ls -l ~//toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fs l-linux-gnueabi/bin/arm-linux-gnueabi-gcc -rwxr-xr-x 2 r65388 s2101 383162 2012-01-04 09:47 /home/r65388//toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-201 1.12/arm-fsl-linux-gnueabi/bin/arm-linux-gnueabi-gcc
Hi Terry. Thank you for the bug report. I've confirmed this with gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux on Ubuntu 11.04 x86_64 Server:
cbuild@crucis-natty:~$ ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc -o hello hello.c ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
The problem is due to the 64 bit host missing the 32 bit libraries. Try running 'sudo apt-get install ia32-libs'.
I've logged this as LP: #914516. The fix is to update the documentation to mention installing both lsb and the ia32-libs on a 64 bit host.
-- Michael
_______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain