嘗試構建一個完全獨立的OTP,可獨立於系統上安裝的庫移動。從源碼構建Erlang OTP的OpenSSL錯誤
生成的OpenSSL 1.0.0d從源代碼如下:
./config --prefix=<open-ssl-dir>
make
make install
然後OTP R14B03:
./configure --prefix=<erlang-dir> --with-ssl=<open-ssl-dir> --without-termcap
二郎製作失敗,則如下:
relocation R_X86_64_32 against `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC
我們談論Ubuntu 10.04。任何幫助非常感謝 - 謝謝!
如果你嘗試用'CFLAGS = -fPIC make'打造二郎會發生什麼? – sarnold
你在64位機器上嗎?什麼OS? – emboss
您是否安裝了openssl和libssl-dev? –