Linux Error No Such File Or Directory
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of no such file or directory linux bash this site About Us Learn more about Stack Overflow the company Business Learn
No Such File Or Directory Linux Shell Script
more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask
Unix No Such File Or Directory But File Exists
Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer
Linux No Such File Or Directory But Directory Exists
The best answers are voted up and rise to the top No such file or directory? But the file exists! up vote 87 down vote favorite 28 I've downloaded a game (Shank) but the bin file doesn't run. The error that is shown when I try to launch the executable is: bash: ./shank-linux-120720110-1-bin: No such file or directory 64-bit files games executable share|improve this question no such file or directory ubuntu edited May 8 '12 at 12:56 asked May 7 '12 at 19:06 Francesco 5961512 2 Maybe "chmod u+x ./shank*bin" first? –agent86 May 7 '12 at 19:35 also shouldn't that be '.bin' rather than '-bin', maybe it's just a typo –Anake May 7 '12 at 20:25 Thank you for your reply. I've done the command you said Agent86 but I have the same result. I've downloaded also the .deb file but there is a problem too. I don't know what problem has this game. –Francesco May 7 '12 at 21:29 Please confirm whether you're running a 64-bit installation (that's the most common case for this problem). –Gilles May 7 '12 at 21:49 Yes I confirm that I'm using a 64-bit architecture on my laptop. –Francesco May 7 '12 at 22:31 add a comment| 6 Answers 6 active oldest votes up vote 131 down vote You're probably trying to run a 32-bit binary on a 64-bit system that doesn't have 32-bit support installed. There are three cases where you can get the message “No such file or directory”: The file doesn't exist. I presume you've checked that
shibby Member From: Switzerland Registered: 2012-08-26 Posts: 3 [SOLVED] No such file or directory, but file exist Hello no such file or directory python unix experts,In my mind, I have a strange problem, that no such file or directory in linux terminal i can't understand.I try to install "sopcast" on my Arch system. I have put a no such file or directory bash script binary application file named "sp-sc-auth" to the directory /usr/bin/.Now when I want to start this in the terminal, then I get this error message (in german):[shibby@linux http://askubuntu.com/questions/133389/no-such-file-or-directory-but-the-file-exists ~]$ cd /usr/bin/ [shibby@linux bin]$ sp-sc-auth sop://broker.sopcast.com:3912/6418 3908 8908 bash: /usr/bin/sp-sc-auth: Datei oder Verzeichnis nicht gefundenIn english:bash: /usr/bin/sp-sc-auth: No such file or directoryBut the file ist there...[shibby@linux bin]$ ls -d sp* sp-sc-auth spd-conf spd-say spdsend speaker-test speech-dispatcher speexdec speexenc split sprofWhat is wrong?FYI[shibby@linux bin]$ uname -r 3.4.9-1-ARCHThanksshibby Last edited by shibby https://bbs.archlinux.org/viewtopic.php?id=147779 (2012-08-27 14:59:51) Offline #2 2012-08-27 14:08:52 karol Archivist Registered: 2009-05-06 Posts: 25,433 Re: [SOLVED] No such file or directory, but file exist Please post the output offile /usr/bin/sp-sc-authanduname -mThis error often means you're trying to run a 64-bit binary on a 32-bit system. Offline #3 2012-08-27 14:14:59 shibby Member From: Switzerland Registered: 2012-08-26 Posts: 3 Re: [SOLVED] No such file or directory, but file exist Here you go:[shibby@linux bin]$ file /usr/bin/sp-sc-auth /usr/bin/sp-sc-auth: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped[shibby@linux bin]$ uname -m x86_64Ok. Does it mean, that this application does not work on my 64 bit OS? Offline #4 2012-08-27 14:17:54 karol Archivist Registered: 2009-05-06 Posts: 25,433 Re: [SOLVED] No such file or directory, but file exist If you're using a 64-bit system you should install the version from multilib repo: http://www.archlinux.org/packages/multi … 4/sopcast/https://wiki.archlinux.org/index.php/Multilib Offline #5 2012-08-27 14:30:28 DSpider
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this http://stackoverflow.com/questions/3949161/no-such-file-or-directory-but-it-exists site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “No such no such file or directory” but it exists up vote 35 down vote favorite 4 I simply want to run an executable from the command line, ./arm-mingw32ce-g++, but then I get the error message, bash: ./arm-mingw32ce-g++: No such file or directory I'm running Ubuntu Linux 10.10. ls -l lists -rwxr-xr-x 1 root root 433308 2010-10-16 21:32 arm-mingw32ce-g++ Using sudo (sudo ./arm-mingw32ce-g++) gives sudo: unable to execute no such file ./arm-mingw32ce-g++: No such file or directory I have no idea why the OS can't even see the file when it's there. Any thoughts? shell command-line executable share|improve this question asked Oct 16 '10 at 14:00 Warpspace 8631820 add a comment| 8 Answers 8 active oldest votes up vote 44 down vote accepted This error can mean that ./arm-mingw32ce-g++ doesn't exist (but it does), or that it exists and is a dynamically linked executable recognized by the kernel but whose dynamic loader is not available. You can see what dynamic loader is required by running ldd /arm-mingw32ce-g++; anything marked not found is the dynamic loader or a library that you need to install. If you're trying to run a 32-bit binary on an amd64 installation: Up to Ubuntu 11.04, install the package ia32-libs. On Ubuntu 11.10, install ia32-libs-multiarch. Starting with 12.04, install ia32-libs-multiarch, or select a reasonable set of :i386 packages in addition to the :amd64 packages. share|improve this answer edited Oct 25 '12 at 0:27 answered Oct 16 '10 at 14:25 Gilles 56.1k15118180 6 Awesome, works! By the way, output of ldd was not a dynamic executable (before I install