使用當地的 so檔。。 - Linux

By Selena
at 2011-06-01T23:39
at 2011-06-01T23:39
Table of Contents
自己寫的程式 叫 func.so 好了
在寫個單元測試程式 會去調用 func.so
叫 ConsoleRun.x86 好了
現在兩個都編出來 在同個資料夾下
直接打 ./ConsoleRun.x86 當然是不能運行 因為 他找不到 func.so
還要打 :
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:`pwd`
export LD_LIBRARY_PATH
這樣才可正常運行 ConsoleRun.x86
請問有沒有快一點的方法呢?
謝謝
--
Tags:
Linux
All Comments

By Kristin
at 2011-06-06T03:29
at 2011-06-06T03:29

By Eartha
at 2011-06-10T08:04
at 2011-06-10T08:04

By Mary
at 2011-06-12T14:38
at 2011-06-12T14:38

By Hardy
at 2011-06-15T22:19
at 2011-06-15T22:19

By Zanna
at 2011-06-17T04:47
at 2011-06-17T04:47

By Joe
at 2011-06-22T00:27
at 2011-06-22T00:27

By Victoria
at 2011-06-22T03:38
at 2011-06-22T03:38
Related Posts
有關即時流量監測的軟體

By Franklin
at 2011-06-01T17:17
at 2011-06-01T17:17
從光碟開機 啟動隨身碟上面的Linux????

By Heather
at 2011-06-01T01:41
at 2011-06-01T01:41
有人有考過RHCE 6嗎?可以分享一些經驗 …

By Noah
at 2011-06-01T00:19
at 2011-06-01T00:19
老筆電換成Linux的可能性

By Rebecca
at 2011-05-31T22:27
at 2011-05-31T22:27
Mint Debian Edition 更新套件問題

By Eden
at 2011-05-31T21:10
at 2011-05-31T21:10