File was opened, but "No such file or dirrectory"


New Member
Dec 5, 2018
Reaction score
File is shared object for arm hf 32 from WindRiver 2.6.32 . I have ARM 32 hf debian wheezy 3.0.2. When i execute my compiled binary file "hello",where i calling dlopen on this lib (with strace), he opening, reading 512b elf header first, then 1400b something, and after 49 bytes ARM.attributes section was read, and after that "write error... cant open shared object : no such file or dirrectory". Where, why is this error?
open("/usr/src/hello/", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\330\26\0\0004\0\0\0"..., 512) = 512
lseek(3, 53056, SEEK_SET) = 53056
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1400) = 1400
lseek(3, 37784, SEEK_SET) = 37784
read(3, "A0\0\0\0aeabi\0\1&\0\0\0\0057-A\0\6\n\7A\10\1\t\2\n\4\22"..., 49) = 49
close(3) = 0
write(2, "dlopen() error: /usr/src/hello/l"..., 107dlopen() error: /usr/src/hello/ cannot open shared object file: No such file or directory 0) = 107

ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped
#uname -a:
Linux debian-armhf 3.2.0-4-vexpress #1 SMP Debian 3.2.51-1 armv7l GNU/Linux
#file hello:
ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit:

Members online