2020年6月4日 星期四
How I fix the "Inconsistency detected by ld.so" issue?
當我要聽歌的時候,從選單中執行了rhythmbox,沒反應...
開了一個terminal,執行rhythmbox,出現錯誤訊息
當時不以為意,直接安裝了另外一套軟體來聽
當我要執行Winetricks時,同樣沒反應
開了一個Terminal,執行Winetricks,結果出現了類似訊息...
mosquito@mosquito-UX31LA ~ $ rhythmbox
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 519: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!
mosquito@mosquito-UX31LA ~ $ winetricks
------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 519: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!
mosquito@mosquito-UX31LA ~ $
這樣哪天要做啥沒法弄的時候就很尷尬了
首先參考了StackOverflow這篇
https://stackoverflow.com/questions/22564780/debugging-ld-inconsistency-detected-by-ld-so
但設定LD_DEBUG=ALL,沒有提供我更多有效的資訊
執行strace Winetricks,噴了很多Log出來,但也沒具體點出是哪裡出問題
從Inconsistency判斷,懷疑是不是檔案系統有問題
執行了一次fsck -y,確實有修正部份問題
但開機後重新執行了一次還是出現Inconsistency detected by ld.so
最後改執行LD_DEBUG=reloc winetricks
10349: relocation processing: /usr/lib/x86_64-linux-gnu/libnotify.so.4 (lazy)
10349:
10349: relocation processing: /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 519: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!
10350:
10350: relocation processing: /lib/x86_64-linux-gnu/libc.so.6 (lazy)
這次看到,出現Inconsistency detected by ld.so之前正在讀取的Library是libwebkit2gtk-4.0.so.37
重新安裝這個Library
sudo apt-get --reinstall install libwebkit2gtk-4.0-37
重新安裝完成後,再執行了一次Winetricks
It's work!!!
留個紀錄,第一次碰到這個問題...
訂閱:
張貼留言 (Atom)
I've reach my Raspberry pi usb current limit, so I've Hack my USB hub.
前言: 我有很多舊的小容量micro sd卡,外接USB Hub,透過usb讀卡機,接到我的Raspberry pi 3,再加上一個sata-usb轉換器,接上小容量SSD,透過btrfs建立一個raid10,當作NAS來使用 最近拿到一台二手的Raspberry pi 4,所以...
-
不久前看了一些文章,提到要做自己的品牌行銷 寫網誌紀錄一些自己的紀錄也是種方法,對我來說不難 畢竟當碰到覺得值得留下紀錄的事情,我也會寫點東西留個紀錄 但我的網誌有蠻大一部份是以前紀錄心情的部份,一直留到現在 從最早的一篇,在ptt2寫下的文章,2003年的文章 這些已經不太適合...
-
http://share.inside.com.tw/posts/16445 同學也轉貼了不同網站的同一個消息 昨天才剛好跟主管在聊公司未來的產品方向, 那小弟來獻醜分析一下好了 C.H.I.P (這個產品名稱就叫作C.H.I.P) https://www.kickstarter...
-
來介紹一下這部電影... 英文片名:The Deaths of Ian Stone 大陸譯名:伊恩斯通之死﹝真鳥= =﹞ 香港譯名:死神狂嚇﹝的確被嚇到不少次= =﹞ 不知名譯名:死神獵殺﹝怎麼差這麼多?﹞ 台灣譯名:未譯 Director:Dario Piana Writer ...
沒有留言:
張貼留言