Issue with Dynamic Linker and Python Dependency in Yocto SDK Setup
"Nicolas Wirth" <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <[email protected]> |
Hi everyone, I'm currently facing an issue while setting up a Yocto SDK environment using the bitbake my-image -c populate_sdk command. The SDK needs to be deployed on a machine that has no existing installations and lacks Python. To work around this, I've modified SDK_PACKAGING_FUNC to "do_compile" instead of "create_shar" to directly obtain the source files. However, when I try to set up the environment using the generated SDK, I encounter the following error related to the dynamic linker: . /yocto-sdk/june-21-linux-x86/environment-setup-core2-64-poky-linux $CC : no such file or directory: x86_64-poky-linux-gcc ... which $CC : x86_64-poky-linux-gcc not found ldd /yocto-sdk/june-21-linux-x86/sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc linux-vdso.so.1 (0x00007ffca9731000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007faf662c7000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faf660e6000) /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007faf663af000) file /yocto-sdk/june-21-linux-x86/sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc /yocto-sdk/june-21-linux-x86/sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/lib/ld-linux-x86-64.so.2, BuildID[sha1]=d5ac41fb03fc89ca348393a6e8734b6fc93ee561, for GNU/Linux 3.2.0, stripped Since I don't have Python installed, I am unable to run relocate_sdk.py. Could someone please advise on how to resolve this issue or suggest alternative approaches to correctly set up the Yocto SDK environment without Python? Best regards, Nicolas