回文章列表
作者Adama.bbs@ptt.cc (So Say We All.) 看板: linux
標題Re: [問題] 64位元OS上面跑32位元程式的library怎� …
時間批踢踢實業 (2008/03/27 Thu 14:17:57)
※ 引述《Adama (So Say We All.)》之銘言:
: ※ 引述《vixen (2tp27t)》之銘言:
: : 因為要跑計算, 且運算程式因為資料量大(>2GB/thread)
: : 所以是跑64位元的Ubuntu. 但有另一個也必須跑的小程式(無source)
: : 是32位元的執行檔, 它需要libXm.so.3, 但是不吃系統上已有的
: : 64位元版的libXm.so.3, 要怎麼樣才能餵給它32位元版的library呢?
: : (註:libXm.so.3來自libmotif3)  謝謝!!!
: 欸,我不確定ubuntu的套件庫如何啦,不過在fedora上,只要
: yum install lesstif.i386 就行了...
: 有時64bit套件庫沒有收到對應的i386版本,可以直接去i386的repository抓rpm
: 回來裝起來看看
: 如果有些32bit程式找錯lib path,像是找到 /usr/lib64
: 那可以用linux32這個指令試試

真的再不行,還有一招我自己沒試過的,就是去抓motif的source自己編成lib
然後用ldconfig把它load起來,或者設LD_LIBRARY_PATH環境變數試試

--
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: 72.235.152.74
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻