I'm working on a project which involves using a RPi4B in order to build an open source hypervisor with two guest OS: Linux and FreeRTOS. Now all that build process is complete, and I'm trying to execute a simple C program inside the Linux guest OS.
The Linux inside the hypervisor comes with minimal packages, and is a bare Linux kernel running.
While trying to execute a .c file, I have cross-compiled according to the aarch64 architecture using the command aarch64-linux-gnu-gcc -o ipc_reader ipc_reader.c
and transferred the binary file inside the Linux file system using scp
. However its not being executed, and when I checked the dependencies (or packages) required to run the binary using the ldd ipc_reader
command, here's what I found:
# ldd ipc_reader
checking sub-depends for 'not found'
libc.so.6 => not found (0x00000000)
/lib/ld-linux-aarch64.so.1 => /lib/ld-linux-aarch64.so.1 (0x00000000)
How can I resolve these missing dependencies on a minimal Linux guest OS without a package manager?
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744987912a4604723.html
评论列表(0条)