I'm having a rather strange problem - I'm trying to run an executable which is viewable using 'ls -l', and whose assembled code can be seen in programmes such as vi, but when I run it it says "zsh: no such file or directory". Here is a transcript of the commands:
Code:
[joshua:/usr/bin]$ ls -l gst-launch
-rwxr-xr-x 1 root root 9224 2008-11-22 16:13 gst-launch
[joshua:/usr/bin]$ file gst-launch
gst-launch: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
[joshua:/usr/bin]$ ./gst-launch
zsh: no such file or directory: ./gst-launch
[joshua:/usr/bin]$ /usr/bin/gst-launch
zsh: no such file or directory: /usr/bin/gst-launch
[joshua:/usr/bin]$ sudo su
Password:
[root@joshua-desktop:/usr/bin]# /usr/bin/gst-launch
zsh: no such file or directory: /usr/bin/gst-launch
There's been a couple of similar questions on LQ, but only one which seemed to have a vaguely helpful answer was
this one. I too am running 64-bit Slackware, so it may well be a similar problem. The poster installs "ld-linux.so.2", which I don't have on my system (I have "ld-linux-x86-64.so.2" installed, though)... However, he gets it from a package using apt, and the source package which contains ld-linux.so.2 seems to be glibc.
So, I guess my questions are as follows:
- Is ld-linux-x86-64.so.2 in any sense equivalent to ld-linux.so.2?
- Have other people seen this problem, and do they believe installing ld-linux.so.2 will solve the problem?
- If so, is installing glibc the right way of going about it?
As always, deepest thanks for any help