A file that exists doesn’t exist. (Bash claims a file exists when it doesn’t.)

root@omega-15:/var/unreal/src# find ./ircd
./ircd
root@omega-15:/var/unreal/src# ./ircd
bash: ./ircd: No such file or directory

What the hell is this?
Bash thinks that the file doesn’t exist, when it obviously does.

-rwxr-xr-x 1 unreal unreal 2075069 Jul 20 04:01 ircd
ircd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped

Answer

It’s probably complaining that a shared library doesn’t exist. Try ldd ./ircd to see what shared libraries are missing.

Attribution
Source : Link , Question Author : seisatsu , Answer Author : Paul Tomblin

Leave a Comment