ld-linux.so.2 (No such file or directory)的解決方法
學習筆記(5)
原因:
是因為64位系統中安裝了32位程式
解決方法:
yum install glibc.i686重新安裝以後還有如下類系錯誤再繼續安裝包
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
yum install libstdc++.so.6
========================================================================
問題一,64位系統中安裝了32位程式解決辦法
是因為64位系統中安裝了32位程式
解決方法:
yum install glibc.i686
問題二
# arm-linux-gcc hello.c -o tt
/home/gl/usr/local/arm/4.3.2/bin/arm-linux-gcc: /home/gl/usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-gcc: /lib/ld-linux.so.2: bad ELF interpreter: 沒有那個檔案或目錄
/home/gl/usr/local/arm/4.3.2/bin/arm-linux-gcc:行3: /home/gl/usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-gcc: 成功
[[email protected]
已載入外掛:langpacks, presto, refresh-packagekit
解決依賴關係
--> 執行事務檢查
---> 軟體包 glibc.i686.0.2.16-28.fc18 將被 安裝
--> 處理依賴關係 libfreebl3.so(N***AWHASH_3.12.3),它被軟體包 glibc-2.16-28.fc18.i686 需要
--> 處理依賴關係 libfreebl3.so,它被軟體包 glibc-2.16-28.fc18.i686 需要
--> 執行事務檢查
---> 軟體包 nss-softokn-freebl.i686.0.3.14.3-1.fc18 將被 安裝
--> 完成依賴關係計算
^[^A
依賴關係解決
================================================================================
Package 架構 版本 倉庫 大小
================================================================================
正在安裝:
glibc i686 2.16-28.fc18 updates 4.2 M
為依賴而安裝:
nss-softokn-freebl i686 3.14.3-1.fc18 updates 146 k
事務概要
================================================================================
安裝 1 軟體包 (+1 Dependent package)
總下載量:4.3 M
安裝大小:15 M
確定嗎?[y/N]:y
確定嗎?[y/N]:y
下載軟體包:
nss-softokn-freebl-3.14.3-1.fc FAILED 105 kB/s | 301 kB 00:00:39(www.111cn.net) ETA
http://mirrors.ispros.com.bd/fed ... .3-1.fc18.i686.rpm: [Errno 14] curl#22 - "The requested URL returned error: 404 Not Found"
嘗試該詞語是禁止的映象。
(1/2): glibc-2.16-28.fc18.i686.rpm | 4.2 MB 00:00:14
(2/2): nss-softokn-freebl-3.14.3-1.fc18.i686.rpm | 146 kB 00:00:35
----------------------------------------------------------------------------------------------------------------
總計 104 kB/s | 4.3 MB 00:42
執行事務檢查
執行事務測試
事務測試成功
執行事務
正在安裝 : nss-softokn-freebl-3.14.3-1.fc18.i686 1/2
正在安裝 : glibc-2.16-28.fc18.i686 2/2
Verifying : glibc-2.16-28.fc18.i686 1/2
Verifying : nss-softokn-freebl-3.14.3-1.fc18.i686 2/2
已安裝:
glibc.i686 0:2.16-28.fc18
作為依賴被安裝:
nss-softokn-freebl.i686 0:3.14.3-1.fc18
完畢!
[
hello.c: In function 'main':
hello.c:3: warning: return type of 'main' is not 'int'
[[email protected] gl]# file tt
tt: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped
[[email protected] gl]#
相關推薦
ld-linux.so.2 (No such file or directory)的解決方法
學習筆記(5)原因:是因為64位系統中安裝了32位程式解決方法: yum install glibc.i686 重新安裝以後還有如下類系錯誤再繼續安裝包 error while loading shared libraries: libstdc++.so.6: can
Linux執行可執行檔案提示No such file or directory的解決方法
最近在使用Linux作業系統執行一個可執行檔案,結果出現了No such file or directory的提示,表示很疑惑。 ./tshrf bash: ./tshref: No such file or directory 檢視檔案資訊,可以看到
rpm -ivh vsftpd-3.0.2-22.el7.x86_64.rpm出現error: open of vsftpd-3.0.2-22.el7.x86_64.rpm failed: No such file or directory的解決方法
情況一: 出現如圖問題, 我當時的問題是通過安裝rpmbuild工具軟體解決的 以前製作rpm時,沒有遇到過這個問題,幾經搜尋也沒有解決。後來發現當前的centos沒有安裝 rpmbuild 工具軟體。以前的系統安裝了,索性就安裝了 rpmbuild軟體
IOError: [Errno 2] No such file or directory的解決方法
利用python讀取檔案或者圖片的時候,可能會出現讀寫檔案出錯。報錯的資訊如下: IOError: [Errno 2] No such file or directory 檔名readXML.py,有一個配置檔案a.txt放在同一目錄下。程式碼如下:
linux/videodev.h: No such file or directory錯誤解決方法
yum install libv4l-dev* 上面錯誤的問題是兩個2.4以上的核心裡面都沒有包含videodev.h這個檔案了。但是有的在include/linux/下面有videodev.h檔案和videodev2.h這個檔案,但是在v4lgrab.c檔案中只有部
bash: ./make_ext4fs: No such file or directory 錯誤解決方法
nodes tor for locks exec ++ 能夠 ipp option 一般出現該錯誤是因為應用程序是32位導致的,能夠使用file命令來查看: [email protected]/* */:~/Desktop$ file make_ext4fs
Qt編譯錯誤“GL/gl.h:No such file or directory”的解決方法
導致 安裝 egl 新版 工具 ubunt 沒有 一個 -o 備註:1)操作系統:Ubuntu-14.04或12.042)Linux用戶:root3)Qt版本:qt-linux-opensource-5.2.0-x86 為了迎接Qt的新紀元(從諾基亞移居到
fatal error C1083 Cannot open include file 'iostream.h' No such file or directory 的解決方法
VC++6.0 中的一段程式,有用到iostream.h中的標準輸入輸出流,直接用 VS2005編譯器編譯的時候報錯“Cannot open include file: 'iostream.h': No such file or directory”。 舊的原始檔如下:
交叉編譯環境的建立:no such file or directory的解決方法
建立交叉編譯環境,首先修改了/etc/bash.bashrc中的PATH,發現即使在路徑中有該檔案的東西,可是還是會報“”no such file or directory“”的錯誤,於是在網上尋找了一會答案,發現是缺
解決Linux中文名檔案下載找不到路徑(java.io.FileNotFoundException: ***(No such file or directory))
問題描述 以前寫過一個檔案上傳下載的專案,在本地測試沒有問題,但最近在部署到Linux伺服器實際應用發現,當檔名為中文時,會報java.io.FileNotFoundException: ***(No
激活miniconda2環境,出現activate命令不存在的解決方案(activate: No such file or directory)
director bsp ini nbsp update date pat -i min miniconda2版本比較低時會出現這種報錯,通過更新miniconda2就可以解決這個問題,用到的命令行: /path/to/miniconda2/conda update
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,我估計
nginx啟動報錯:nginx: [error] open() "/var/run/nginx/nginx.pid" failed (2: No such file or directory) 的解決辦法
問題: 重啟虛擬機器後,再次重啟nginx會報錯: nginx: [error] open() "/var/run/nginx/nginx.pid" failed (2: No such file or directory) 問題原因: 提示資訊說明在 /var/
離線安裝expat-2.0.1 ——安裝apr-util 遇到 expat.h: No such file or directory 的解決
在安裝apr-util-1.6.1 的過程中 ./configure --prefix=/usr/local/apr-util -with-apr=/usr/local/apr/bin/apr-1-config make 之後出現報錯 xml/ap
Linux下出現 error: mysql.h: No such file or directory 的解決辦法
在linux 下使用C語言呼叫 mysql的庫會出現找不到 mysql.h 的錯誤,解決辦法如下 在使用GCC編譯的時候,加上如下幾句 需要在gcc編譯時指定 標頭檔案地址,用命令mysql_config,即可獲取mysql安裝後頭檔案所在位置,庫檔案所在位置,之後指
win10上用Python2.7處理文字,出錯IOError: [Errno 2] No such file or directory:如何解決???
# coding=utf-8 import os import jieba import sys import re import time import jieba.posseg as pseg sys.path.append("../") jieba.load_use
nginx 在檢查是否可啟動出現問題(cannot open shared objectfile: No such file or directory)的解決
ngnix在檢查是否可啟動的時候,出現下面問題: (venv) [email protected]:/data/server/nginx#./sbin/nginx -t ./sbin/nginx:error while loading shared librarie
mac下/usr/local/bin No such file or directory問題解決
在對composer進行全域性配置時,執行 sudo mv composer.phar /usr/local/bin/composer 時,mac報錯:/usr/local/bin No such file or directory 。 分析原因,在finder中command+shift+G進入目錄,確實
CentOS 7.x關閉/開啟防火牆出現Unit iptables.service failed to load: No such file or directory問題解決
一直用CentOS 6.x,今天用CentOS7.3版本時,防火牆配置後執行service iptables start出現”Failed to restart iptables.service: Unit iptables.service failed to load: No such file or di
inux指令碼報錯 /bin/bash^M: bad interpreter: No such file or directory 的解決辦法
問題描述: 執行初始化指令碼的時候遇到一個很奇怪的錯誤,老是提示檔案或目錄找不到. 開啟指令碼反覆檢查,發現路徑都是對的 然後google了一下發現原來是我的檔案格式寫錯了,在windows下用檔案編輯器編輯的預設格式是dos 解決辦法: 在linux下需要把格式改為unix,這