首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
Linux run executable "No such file or directory" file exist
Type(Type) 2014/6/16 18:00

Linux run executable file "No such file or directory" error found but file exists there in fact!




Case #1. First, Usually a permission and path issue




How to resolve? Just chmod 777 or 755, and use "./xxx" to execute it


代碼:

$ cd <path contains the file>
$ chmod 755 ./executable
$ ./executable




Case #2. Second, 32-bit vs 64-bit issues (Share Library Incompatible)




It is because either you run a 32-bit executable on a 64-bit ENV,
or, you run a 64-bit executable on a 32-bit ENV,
or, you run a glibc-compiled-application upon a uclibc ENV!

Solution: How to Resolve? Just make sure your application fit with the library/32-bit-Arch/64-bit-arch.





*WARNING*
A 64-bit Kernel may co-exist with 32-bits Glibc ENV,
so make sure to be careful to use 32-bit application executable in such ENV.


(1,704 views)
[更多討論] 討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體




"Linux run executable "No such file or directory" file exist" 傳統頁面(電腦版)

首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
傳統桌面版 [ 登入/註冊 ]
© Vovo2000.com Mobile Version 小哈手機版 2019