解決“執行arm-linux-gcc命令,提示No such file or directory”的問題
今天在ubuntu14.04上安裝arm的交叉編譯器arm-linux-gcc,環境變數配置好以後,執行arm-linux-gcc命令,總提示No such file or directory。然後去arm-linux-gcc所在的目錄下,發現不缺少任何檔案。而且環境變數配置也是正確的(環境變數很easy,只要配置個path路徑就行),因為arm-是可以補全的。之後又在網上下載了幾個版本,甚至最新版,還是同樣的問題。
搞了半天,才發現是ubuntu版本的問題。本人的ubuntu是64位,而下載的這些交叉編譯器是32位的。因此需要安裝ia32-libs庫,如果apt-get 搜不到這個庫的話,可以安裝lib32ncurses5庫,也是一樣的。本人安裝了後者,解決了該問題。
相關推薦
解決“執行arm-linux-gcc命令,提示No such file or directory”的問題
今天在ubuntu14.04上安裝arm的交叉編譯器arm-linux-gcc,環境變數配置好以後,執行arm-linux-gcc命令,總提示No such file or directory。然後去arm-linux-gcc所在的目錄下,發現不缺少任何檔案。而且環境變數配
Linux執行.sh檔案,提示No such file or directory的問題的解決方法
今天遇到了個奇怪的問題,就是再linux中執行shell 死活載入不到/etc/profile 直接執行source /etc/profile 沒問題 但是在shell中執行就不行 查詢
Linux執行.sh檔案,提示No such file or directory錯誤
當你把startofbiz.sh用編輯器如記事本開啟後,修改一下再儲存,放回原來的路徑下,然後啟動就會報錯:No such file or directory . 原因是你開啟檔案是在windows環境下,儲存後CR/LF(回車/換行)與linux下不同。所以格式不同會報錯
執行Linux腳本,出現No Such file or directory異常
退出 linux服務器 腳本開發 win 不存在 存在 src 字符 lin 最近在學習Linux系統的腳本開發,在我編寫完標本的情況出現了以下的情況 這個時候出現了No Such file or directory 情況出現 ,提示文件不存在; 但是通過VIM命令訪問此
NDK 編譯報錯arm-linux-androideabi-g++: error: CreateProcess: No such file or directory
Android編譯工程時提示:arm-linux-androideabi-g++: error: CreateProcess: No such file or directory錯誤。 解決方法: 步驟1: Android.mk 檔案修改, LOCAL_SHORT_C
交叉編譯器編譯失敗,提示“no such file or directory”
【問題】 在ubuntu18.04.2下,將iTop
Linux執行指令碼命令提示No such file or directory錯誤的解決辦法
首先了解下基礎知識: python指令碼中的#!/usr/bin/python 估計有不少人注意過一些python指令碼開頭有這麼行東東: #!/usr/bin/python 它是用來幹嘛的?貌似沒有它對指令碼功能也沒啥影響。它是用來指定用什麼直譯器執行指令
Linux執行.sh文件,提示No such file or directory的問題的解決方法
感謝 文件格式 很多 兼容 dir shell nbsp www window平臺 Linux執行.sh文件,提示No such file or directory的問題在window平臺下,寫好shell腳本文件,遷移到linux平臺,賦過可執行權限,執行該sh文件,卻提
Linux執行可執行檔案提示No such file or directory的解決方法
最近在使用Linux作業系統執行一個可執行檔案,結果出現了No such file or directory的提示,表示很疑惑。 ./tshrf bash: ./tshref: No such file or directory 檢視檔案資訊,可以看到
Linux中提示No such file or directory解決方法
問題描述 解決方法 分析原因,可能因為我平臺遷移碰到許可權問題我們來進行許可權轉換 1)在Windows下轉換: 利用一些編輯器如UltraEdit或EditPlus等工具先將指令碼編碼轉換,再放到Linux中執行。轉換方式如下(UltraEdit):File
linux執行python的指令碼檔案,提示提示No such file or directory
在window平臺下,寫好python指令碼檔案,遷移到linux平臺,賦過可執行許可權,執行該sh檔案,卻提示No such file or directory。ls 了下,確實有該檔案,怎麼會事呢
Linux執行指令碼卻提示No such file or directory
確認可執行許可權 使用 chmod a+x xxx.filename.ext 檢查檔案系統格式 vim xxx.filename.ext 輸入: set ff=unix 儲存退出 現在應該可執行了,原先的set ff結果為fileformat = dos 檔案由wind
在Linux中提示No such file or directory解決方法
編寫shell指令碼執行一些命令發現很多的地方出現了問題,總是No such file or directory。但是事實上是有的,在網上查找了一些觀點,總結一下: (1)在Windows下轉換: 利用一些編輯器如Notepat++,UltraEdit或Edit
關於Linux下文件刪除文件時提示No such file or directory
tor move tmp args 指點 刪除 遇到 fin 請問 尊敬的各位老大: 本人了Linux小白一枚,遇到一點問題想請老大們指點一下今天練習tar命令壓縮文件時想給給文件名內增加一個當前年月日 [root@poker log]# tar zcvf log.tar-
qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory 解決方案
昨天晚上,第一次用qt,但在編譯時,遇到上述的問題,然後在網上查詢了很多資料,感覺別說的都有道理,但還是不太懂,不過弄了一個多小時後,終於搞定了。 解決方法:首先找到qmake的可執行檔案路徑,我的路徑是/usr/lib/i386-linux-gnu/qt5/bin,在這裡我用的是qt5,我估計
解決檔案存在卻提示 No such file or directory 錯誤的問題
重灌了下Ubuntu發現做CSAPP的shell lab時執行 ./tshref 會提示 No such file or directory 但檔案tshref存在, 上網搜了下, 原來是執行該程式需要32bit的libs, 而我的系統是64位的, 用下面的命令安裝32
linux下/dev/dsp:No such file or directory解決方法
寫了一個需要通過dsp進行音訊操作的小程式,執行時卻提示/dev/dsp:No such file or directory $ls /dev目錄下並沒有dsp這個檔案解決方法很簡單: $sud
關於shell指令碼提示No such file or directory的解決辦法和原因
在執行剛編寫完的shell指令碼時,報錯現象:解決辦法: vim模式開啟這個shell指令碼,檢視編碼格式後設置成unix編碼 具體操作: vim shellarr.sh開啟指令碼,ctrl+c進入輸入:命令的格式,輸入:set ff?,檢視格
64位ubuntu無法安裝32位軟體,或者是執行32位.run等檔案,出現`no such file or directory`問題
64位系統是能安裝32位的應用軟體和程式的,出現問題,最大可能是沒有安裝 32位的依賴庫,或者是安裝的32位依賴庫不對。 linux一般都是在/etc/dpkg/dpkg.cfg.d/路徑下有相關的檔
解決 Boost安裝:fatal error: bzlib.h: No such file or directory 問題
++ gpo sku fat .cpp post src lib thread 參考: How to install all the boost development libraries? 解決 Boost安裝:fatal error: bzlib.h: No such