尝试构建一个完全独立的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? –