首先,沒有特異性64位下載Erlang的二郎在64位的Ubuntu
當我試着與密碼啓用,我得到這個錯誤
make[2]: Entering directory `/home/axon/erlang-src/otp_src_R14B01/lib/crypto'
=== Entering application crypto
make[3]: Entering directory `/home/axon/erlang-src/otp_src_R14B01/lib/crypto/src'
make[3]: Nothing to be done for `opt'.
make[3]: Leaving directory `/home/axon/erlang-src/otp_src_R14B01/lib/crypto/src'
make[3]: Entering directory `/home/axon/erlang-src/otp_src_R14B01/lib/crypto/c_src'
make -f x86_64-unknown-linux-gnu/Makefile TYPE=opt
make[4]: Entering directory `/home/axon/erlang-src/otp_src_R14B01/lib/crypto/c_src'
/usr/bin/install -c -d ../priv/lib/x86_64-unknown-linux-gnu
gcc -shared -Wl,-Bsymbolic -o ../priv/lib/x86_64-unknown-linux-gnu/crypto.so ../priv/obj/x86_64-unknown-linux-gnu/crypto.o -Wl,-R/usr/local/ssl/lib -Wl,-R/usr/local/lib64 -Wl,-R/usr/sfw/lib64 -Wl,-R/opt/local/lib64 -Wl,-R/usr/lib64 -Wl,-R/usr/pkg/lib64 -Wl,-R/usr/local/openssl/lib64 -Wl,-R/usr/lib/openssl/lib64 -Wl,-R/usr/openssl/lib64 -Wl,-R/usr/local/ssl/lib64 -Wl,-R/usr/lib/ssl/lib64 -Wl,-R/usr/ssl/lib64 -Wl,-R/usr/local/lib -Wl,-R/usr/sfw/lib -Wl,-R/opt/local/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/local/openssl/lib -Wl,-R/usr/lib/openssl/lib -Wl,-R/usr/openssl/lib -Wl,-R/usr/lib/ssl/lib -Wl,-R/usr/ssl/lib -L/usr/local/ssl/lib -lcrypto
/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(cryptlib.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [../priv/lib/x86_64-unknown-linux-gnu/crypto.so] Error 1
make[4]: Leaving directory `/home/axon/erlang-src/otp_src_R14B01/lib/crypto/c_src'
make[3]: *** [opt] Error 2
make[3]: Leaving directory `/home/axon/erlang-src/otp_src_R14B01/lib/crypto/c_src'
make[2]: *** [opt] Error 2
make[2]: Leaving directory `/home/axon/erlang-src/otp_src_R14B01/lib/crypto'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/home/axon/erlang-src/otp_src_R14B01/lib'
make: *** [libs] Error 2
我認識到這是與lib_ssl本身的問題,其他一些人也有這個問題。有人建議我在安裝lib_ssl之前編輯一個加密頭文件,但是沒有解決問題。
你可以在這裏找到一個64位Ubuntu的二進制下載:http://www.erlang-solutions.com/section/132/download-erlang-otp – legoscia 2012-07-17 16:51:41