Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using xidel - linux x32 on Openwrt x86 (virtual box)? "No such file or directory" #114

Open
Baltazar500 opened this issue Oct 24, 2024 · 1 comment

Comments

@Baltazar500
Copy link

Hi.

I'm trying to use xidel - linux x32 on OpenWRT x86 (virtual box), but I get a "No such file or directory" error when running the binary. What's the problem?

-bash-4.3# strace "/tmp/bin/xidel"
execve("/tmp/bin/xidel", ["/tmp/bin/xidel"], [/* 14 vars */]) = -1 ENOENT (No such file or directory)
brk(0x8cfd000)                          = 0x8cfd000
write(2, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
) = 40
exit_group(1)                           = ?
+++ exited with 1 +++
@benibela
Copy link
Owner

It needs a dynamic loader

e.g. the 64-bit version needs:

$ readelf -l  xidel  |  grep interpreter
     [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
$ strings | grep ld-linux
     /lib64/ld-linux-x86-64.so.2

Different Linux versions have a different name for that file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants