閱讀55 返回首頁    go 阿裏雲 go 技術社區[雲棲]


編譯redis報錯/deps/hiredis/libhiredis.a解決

在編譯redis3.2.9時報錯

cc: ../deps/hiredis/libhiredis.a: No such file or directory
cc: ../deps/lua/src/liblua.a: No such file or directory
cc: ../deps/geohash-int/geohash.o: No such file or directory
cc: ../deps/geohash-int/geohash_helper.o: No such file or directory
make[1]: *** [redis-server] Error 1
make[1]: Leaving directory `/usr/local/src/redis-3.2.9/src'
make: *** [all] Error 2

解決辦法

進入源碼包目錄下的deps目錄中執行

make geohash-int hiredis jemalloc linenoise lua

然後再進行make編譯就可以了

最後更新:2017-07-10 12:02:19

  上一篇:go  簡易數據恢複方案實戰:流程和工具
  下一篇:go  eaccelerator0.9.5.3模塊安裝