[問題] 裝cgdb遇到readline找不到

看板Linux作者 (Ar藤)時間12年前 (2011/11/08 11:48), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
小弟要安裝cgdb 但在configure時就遇到錯誤 指令: ./configure --prefix=/usr/arton/tools/cgdb-0.0.6 --with-readline=/usr/arton/tools/readline-6.2/lib 錯誤訊息: ....略 checking for tgetent in -lncurses... yes checking which library has the termcap functions... using libncurses checking version of installed readline library... 4.3 configure: error: CGDB requires GNU readline 5.1 or greater to link. If you used --with-readline instead of using the system readline library, make sure to set the correct readline library on the linker search path via LD_LIBRARY_PATH or some other facility. 我的ld path LD_LIBRARY_PATH=/usr/arton/tools/readline-6.2/lib google說像我上面這樣設定就可以了 不過我設定完還是有錯 http://www.linuxquestions.org/questions/slackware-14/configure-error-443797/ 該網頁似乎還有說要執行ldconfig 但我沒有ldconfig的權限 會是這個問題嗎?? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.192.162.252
文章代碼(AID): #1EkAQeLT (Linux)