1. 程式人生 > >libz.so.1: cannot open shared object file: No such file or directory

libz.so.1: cannot open shared object file: No such file or directory

使用arm編譯c程式時出現錯誤

[[email protected] Downloads]# arm-linux-gcc -o test test.c
/usr/local/arm/4.4.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.3/../../../../arm-none-linux-gnueabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

解決:

[[email protected]
Downloads]# yum install zlib.i686 已載入外掛:fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirrors.btte.net * epel: mirror01.idc.hinet.net * extras: mirrors.btte.net * remi-safe: mirrors.tuna.tsinghua.edu.cn * updates: mirrors.btte.net 正在解決依賴關係 --> 正在檢查事務 ---> 軟體包 zlib.i
686.0.1.2.7-17.el7 將被 安裝 --> 解決依賴關係完成 依賴關係解決 ================================================================================ Package 架構 版本 源 大小 ================================================================================ 正在安裝: zlib i686 1.2
.7-17.el7 base 91 k 事務概要 ================================================================================ 安裝 1 軟體包 總計:91 k 安裝大小:180 k Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction 正在安裝 : zlib-1.2.7-17.el7.i686 1/1 驗證中 : zlib-1.2.7-17.el7.i686 1/1 已安裝: zlib.i686 0:1.2.7-17.el7 完畢! [[email protected] Downloads]# arm-linux-gcc -o test test.c [[email protected] Downloads]# ls arm-linux-gcc-4.4.3-20100728.tar.gz opt test test.c

相關推薦

解決 error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or

編譯android7.0出現問題: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 解決方法: sudo apt-ge

libz.so.1: cannot open shared object file: No such file or directory

使用arm編譯c程式時出現錯誤 [[email protected] Downloads]# arm-linux-gcc -o test test.c /usr/local/arm/4.

error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

今天重新配置環境的時, 在啟動nginx時出現這樣一個錯誤   解決方法   64位系統:  ln -s /usr/local/lib/libpcre.so.1 /lib64   32位系統:  ln -s /usr/local/lib/libpcre.so.1 /l

mysql安裝報錯error while loading shared libraries: libaio.so.1: cannot open shared object file: No such

使用ubantu安裝mysql時,出現報錯 [email protected]:/home/soft/mysql-5.6.41-linux-glibc2.12-x86_64# ./scripts/mysql_install_db --user=mysql --da

mysq安裝錯誤:error while loading shared libraries: libaio.so.1: cannot open shared object file: No such

centos6安裝mysq5.6 錯誤資訊:Installing MySQL system tables..../bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object

Redhat 6.4安裝ORACLE11R2 ,執行root.sh報錯:“libcap.so.1:cannot open shared object file

查詢所缺連結檔案的位置:# find / -name libcap* /lib/libcap.so.2 /lib/libcap.so.2.11 /lib64/libcap.so.2 /lib64/libcap.so.2.11 /lib64/libcap.so.1.10 建立連結檔案:# cd /lib64#

error while loading shared libraries: libnuma.so.1: cannot open shared object file

在初始化mysql5.7的時候,報以下錯誤 error while loading shared libraries: libnuma.so.1: cannot open shared objec

執行Visual Studio code,遇到error while loading shared libraries: libXss.so.1: cannot open shared object

執行Visual Studio Code,遇到錯誤如下: [[email protected] VSCode-linux-x64]# ./code  ./code: error while loading shared libraries: libXss.so.1

nginx無法啟動提示libpcre.so.1: cannot open shared object

nginx無法啟動提示libpcre.so.1: cannot open shared object file的解決方法我也不知為啥,編譯安裝了Nginx後,今天打算再玩玩,結果發現Nginx竟然無法啟動了。提示下面的錯誤,大概可以看得出來,缺少了libpcre這個庫檔案。可是,我是新手,感覺下手無處呀。最後

error:while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory

div usr dir deb 缺失 依賴庫 cal bug 模塊 執行 memcached 啟動命令時,報錯,提示:error while loading shared libraries: libevent-2.1.so.6: cannot open shared ob

解決OpenSSL:error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No

解決OpenSSL:error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No

ubuntu16.04配置caffe 報錯: libopencv_core.so.3.1: cannot open shared object file

在ubuntu16.04系統下配置caffe(無GPU)時候,當編譯caffe的時候遇到錯誤: .build_release/tools/caffe: error while loading shared libraries: libopencv_core.so.3.1: cannot open

svnserve: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file:

  1、安裝svnyum -y install subversion  2、啟動svnsvnserve -d -r /www/svndata  啟動svn時以下異常svnserve: error while loading shared libraries: libapru

caffe出現error while loading shared libraries: libopencv_core.so.3.1: cannot open shared object file:

error while loading shared libraries: libopencv_core.so.3.1: cannot open shared object file: No such file or directory 這個錯誤主要的原因是在

ImportError: libmysqlclient.so.20: cannot open shared object file: No such file or directory 解決辦法

object init ror 文件 module libmysql 找到 str 軟連接 >>> import MySQLdbTraceback (most recent call last): File "<stdin>", line

error while loading shared libraries: libssl.so.6: cannot open shared object file

ldd yum check_tcp libssl.so.6 openssl098e-0.9.8e-20 [root@ ~]# /usr/local/nagios/libexec/check_tcp -H 127.0.0.1 80/usr/local/nagios/libexec/check

error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory解決

make scp AR object normal memcache window 2.0 HA 我是從其他服務器scp來的memcached(~~~整個文件夾的那種,windows用多了的後遺癥) 在準備運行 ./memcached -d -u root -l loca

arm-none-linux-gnueabi/4.4.3/cc1: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

鬱悶了,安裝好了arm-linux-gcc的4.4.3版本,就是能能執行!!! 而且,在執行arm-linux-gcc -v的時候一切正常,醉了! 顯示說: /opt/Friendlyarm/arm-linux-gcc-4.4.3/bin/../libexec/gcc/arm-none-linux-

解決error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file

一、問題 執行hello程式時,用到了自己編寫的動態庫,在目錄/usr/local/lib目錄下,執行時出現 error while loading shared libraries: libhello.so.1: cannot open shared object file: No s

libiconv.so.2: cannot open shared object file的解決方法

收藏於 2012-04-07 遷移自個人的百度空間 -------------------------------- 重新編譯了libiconv庫之後執行原先沒有問題的程式(該程式用到了iconv庫)就出現瞭如下問題 ./a.out: error while&nb