顯示廣告
隱藏 ✕
看板 Manic
作者 Manic(沒力客)
標題 [Ubuntu]Gem: mysql 無法安裝成功的原因:libmysqlclient-dev
時間 2010年05月15日 Sat. PM 03:02:27


原本已經安裝了 libmysqlclient 可是還是會有執行錯誤

/usr/bin/ruby1.8 extconf.rb
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

後來裝了 libmysqlclient-dev 後就OK了


--
※ 來源: DISP BBS 看板: Manic 文章連結: http://disp.cc/b/93-2oN
※ 作者: Manic  來自: 60.199.247.64  時間: 2010-05-15 15:02:27
※ 看板: Manic 文章推薦值: 0 目前人氣: 0 累積人氣: 232 
r)回覆 e)編輯 d)刪除 M)收藏 ^x)轉錄 同主題: =)首篇 [)上篇 ])下篇