This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DRA726: LD unable to find ../../lib/libc.so.6

Part Number: DRA726

Tool/software: Linux

I am trying to setup the latest Jacinto 6 Linux SDK (ti-processor-sdk-linux-automotive-dra7xx-evm-03_02_00_03) with the setup installed gcc toolset (gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf).  In trying to build the SDK out of  the box, the build always stops when trying to compile / configure target components (e.g. libtool-cross and others) with unable to generate C executables because the linker cannot find ../../lib/libc.so.6.   I have looked and here is no libc.so.6 under arm-linux-gnueabihf/lib but there is one under arm-linux-gnueabihf/libc/lib.  I did look at an older gcc cross compiler and the libc was under lib.  I have re-installed and followed the user guide multiple times but it always ends up failing at same point. 

Is there some gcc configuration item I am missing?   Below is sample failing compilation.

DEBUG: Executing shell function do_compile

NOTE: make -j 6
arm-linux-gnueabihf-gcc -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -L/opt/ti_sdk/tools/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib -Wl,-rpath-link,/opt/ti_sdk/tools/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu --sysroot=/opt/ti_sdk/ti-processor-sdk-linux-automotive-dra7xx-evm-03_02_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/dra7xx-evm -isystem/opt/ti_sdk/tools/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/opt/ti_sdk/ti-processor-sdk-linux-automotive-dra7xx-evm-03_02_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/opkg-utils/0.1.8+gitAUTOINC+53274f0875-r0=/usr/src/debug/opkg-utils/0.1.8+gitAUTOINC+53274f0875-r0 -fdebug-prefix-map=/opt/ti_sdk/ti-processor-sdk-linux-automotive-dra7xx-evm-03_02_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux= -fdebug-prefix-map=/opt/ti_sdk/ti-processor-sdk-linux-automotive-dra7xx-evm-03_02_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/dra7xx-evm= -o opkg-compare-versions opkg-compare-versions.c
/media/jz4fpf/ti_sdk_170426/tools/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/5.3.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find ../../lib/libc.so.6
collect2: error: ld returned 1 exit status
make: *** [opkg-compare-versions] Error 1
WARNING: /opt/ti_sdk/ti-processor-sdk-linux-automotive-dra7xx-evm-03_02_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/opkg-utils/0.1.8+gitAUTOINC+53274f0875-r0/temp/run.do_compile.10890:1 exit 1 from 'exit 1'
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /opt/ti_sdk/ti-processor-sdk-linux-automotive-dra7xx-evm-03_02_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/opkg-utils/0.1.8+gitAUTOINC+53274f0875-r0/temp/log.do_compile.10890)

Thank you for your help.