錯誤解決:當前目錄下有so,提示 error while loading shared libraries
真是讓人莫名其妙……
- ldd檢視
ldd gh_main
linux-vdso.so.1 => (0x00007ffed294f000)
libgh2mqtt.so (0x00007f4475a29000)
libgh2mysql.so (0x00007f4475826000)
libgh2nvidia.so (0x00007f44755b6000)
libgh2kit.so (0x00007f44751af000)
libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x00007f4474f73000)
liblmdb.so => /usr/local/lib/liblmdb.so (0x00007f4474d5e000)
出錯的so,會提示not found。
- 解決辦法1
將當前目錄下的so,直接複製到/usr/lib下。
- 解決辦法2
修改LD_LIBRARY_PATH,加入.試試。
相關推薦
錯誤解決:當前目錄下有so,提示 error while loading shared libraries
真是讓人莫名其妙…… ldd檢視 ldd gh_main linux-vdso.so.1 => (0x00007ffed294f000) libgh2mqtt.so (0x00007f4475a29000) libgh2mysql.so (0x0000
執行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
執行so檔案時,出現error while loading shared libraries: libjvm.so: cannot open shared object file...
出現:error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directoryI don't get the errors you
解決:CentOS下的 error while loading shared libraries: libmysqlclient.so.16: cannot open shared object fi
你看到的這個文章來自於http://www.cnblogs.com/ayanmw 進入別人的centos,輸入命令 mysql mysqladm都會報錯,缺少這個共享庫 libmysqlclient.so.16 。 查詢下,一般都是ldconfig 沒有找到共享庫的位置,或者 軟連結的問題,但是 都是
解決:CentOS下的 error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or dir
進入別人的centos,輸入命令 mysql mysqladm都會報錯,缺少這個共享庫 libmysqlclient.so.16 。 查詢下,一般都是ldconfig 沒有找到共享庫的位置,或者 軟連結的問題,但是 都是不治本的解決方案。 查詢 此檔案 相關的檔案: updatedb loca
error while loading shared libraries: xxx.so.x"錯誤的原因和解決辦法
exp 不想 ech cache 方案 動態鏈接庫 direct 就會 export 一般我們在Linux下執行某些外部程序的時候可能會提示找不到共享庫的錯誤, 比如: tmux: error while loading shared libraries: libe
解決軟件啟動報error while loading shared libraries: libgd.so.2: cannot open shared object錯誤
data dso htm inux libpcre 通過 libc.so.6 code 相關 解決軟件啟動報error while loading shared libraries: libgd.so.2: cannot open shared object錯誤 今天安
解決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
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
error while loading shared libraries: xxx.so.x" 錯誤的原因和解決辦法
今天在執行一個protobuf程式時,提示error while loading shared libraries: libprotobuf.so.8: cannot open shared object file: No such file or directory錯誤。google了一下,是由於找不到li
error while loading shared libraries: xxx.so"錯誤的原因和解決辦法
原因一般有兩個, 一個是作業系統裡確實沒有包含該共享庫(lib*.so.*檔案)或者共享庫版本不對, 遇到這種情況那就去網上下載並安裝上即可. 另外一個原因就是已經安裝了該共享庫, 但執行需要呼叫該共享庫的程式的時候, 程式按照預設共享庫路徑找不到該共享庫檔案. 所以安裝共享庫後要注意共享庫路徑設定問題,
ubuntu 12.04 LTS 解決DB2 V10.5.0.1 64bit 安裝中的error while loading shared libraries: libnuma.so.1錯誤
[email protected]:~$ sudo apt-get install numactl正在讀取軟體包列表... 完成正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 下列軟體包是自動安裝的並且現在不需要了: libope
locate strace 解決無法找到檔案的問題,比如: error while loading shared libraries: libiconv.so.2
使用locate的快速查詢檔案功能。 locate功能簡介,locate將檔名及路徑儲存在資料庫/var/lib/mlocate/mlocate.db之中,方便快速查詢文 件位置。正常情況下這個資料庫是不會更新的,我們需要使用命令updatedb這個命令來更新。 shell> updatedb 然後
錯誤解決error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file
前提:ubuntu-debug機器上向SVN提交了pdu-IVT,想在別的普通機器上驗證直接make能否成功,編譯出的使用者程式能否執行。 工作PC機上裝有VMware,裡面的ubuntu版本跟ubuntu-debug機器上相同,都是ubuntu 11.10版本。 VMw
錯誤"error while loading shared libraries: xxx.so.x" 的原因和解決辦法
一般我們在Linux下執行某些外部程式的時候可能會提示找不到共享庫的錯誤,比如: error while loading shared libraries: libprotobuf.so.9: cannot open shared object file: N
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
Nginx啟動錯誤:error while loading shared libraries: libpcre.so.1
bsp crypto UC shared include libc.so.6 aries while 進一步 # /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx: error while loading sh
Nginx啟動錯誤:error while loading shared libraries: libpcre.so.0
sbin 共享 shared 啟動 direct error oca lib while 今天測試的時候,啟動一個其他機器預編譯好的nginx到目標測試機器(OEL 7.4)啟動的時候,報了下列錯誤: /usr/local/nginx/sbin/nginx: error w
error while loading shared libraries: libpcre.so.0的解決辦法
操作系統 找到 entos mirror centos ror blank 解決方法 cto 因沒有備份libpcre.so.0文件便執行命令“rpm -e pcre –nodeps”,導致丟失libpcre.so.0文件。結果可想而知,
解決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