看板 Linux 關於我們 聯絡資訊
為什麼你想把32 bit的砍掉 @@ 既然你是64bit OS, 顯然是這隻程式找不到32bit的libpthread.so才不能執行 你可以檢查看看這lib (32bit)有沒有load進記憶體裡 (man ldd) 或者是程式找錯lib路徑,可以用linux32這指令試試 再不然就指定LD_LIB_PATH強迫它去找32bit lib 其實重新編譯成64bit程式是最好的辦法 ※ 引述《DRLai (蘇打)》之銘言: : 我最近發現某些程式不能run : 後來看了訊息,他寫 : error while loading shared libraries: libpthread.so.0: wrong ELF class: : ELFCLASS64 : 我大概搜尋了一下錯誤 : 好像是因為32跟64bit版本的問題 : 當初安裝glibc時,我把32跟64都裝了orz : (作業系統是64bit) : 結果現在有少部份程式沒辦法run : 大致上的錯誤都是同一個 : (不見得是libpthread.so.0,但都是lib相關的檔案) : 我想要把glibc 32bit砍掉 : yum卻顯示有3xx個程式depend在他身上 : 所以要連同那3xx個程式一起砍~ : 想問問,有什麼辦法解決呢~"~ -- The 4400 ~ A Place In Time ~ [Amanda Abizaid] So long ago, another life, I can feel your heartbeat. It's not a dream, remember us. I can see it in your eyes. We'll find our place in time, a place in time beyond the sun. We'll find our place in time, a place in time to call our own. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.229.105.24 ※ 編輯: Adama 來自: 61.229.105.24 (09/27 00:50)
DRLai:有些程式只有binary code..沒辦法orz 09/27 14:25