[OE-core] GCC fails when SDK is not extracted to /usr/local

Tasslehoff Kjappfot tasskjapp at gmail.com
Wed Dec 7 07:16:35 UTC 2011


gcc fails when I extract my SDK to another place than /usr/local.

Output when it fails:

$ ./arm-angstrom-linux-gnueabi-gcc
bash: ./arm-angstrom-linux-gnueabi-gcc: No such file or directory

Readelf output:

$ readelf -d arm-angstrom-linux-gnueabi-gcc

Dynamic section at offset 0x34394 contains 21 entries:
   Tag        Type                         Name/Value
  0x00000001 (NEEDED)                     Shared library: [libc.so.6]
  0x0000000f (RPATH)                      Library rpath: 
[/usr/local/angstrom-eglibc-i686-armv7a/sysroots/i686-angstromsdk-linux/usr/lib/armv7a-angstrom-linux-gnueabi:/usr/local/angstrom-eglibc-i686-armv7a/sysroots/i686-angstromsdk-linux/lib]

Is it the RPATH here that's making trouble for me?

- Tasslehoff




More information about the Openembedded-core mailing list