[erlang-bugs] R12B-0 SSL Build Error on Centos / Redha
Daniel Schutte
danie@REDACTED
Sat Dec 15 04:36:07 CET 2007
Erlang R12B-0
Centos 5.0
OpenSSL 0.9.8g 19 Oct 2007
2.6.18-8.1.15.el5 #1 SMP Mon Oct 22 08:32:28 EDT 2007 x86_64 x86_64 x86_64
GNU/Linux
On executing the following command - the following error occurs:
gcc -Wl,-R/usr/local/lib -g -O2 -I/home/olympus/src/otp_src_R12B-0/erts/x86_64-\
unknown-linux-gnu -D_GNU_SOURCE -o ../priv/bin/x86_64-unknown-linux-gnu/ssl_\
esock ../priv/obj/x86_64-unknown-linux-gnu/esock.o ../priv/obj/x86_64-unknown-l\
inux-gnu/debuglog.o ../priv/obj/x86_64-unknown-linux-gnu/esock_poll.o ../priv/o\
bj/x86_64-unknown-linux-gnu/esock_osio.o ../priv/obj/x86_64-unknown-linux-gnu/e\
sock_utils.o ../priv/obj/x86_64-unknown-linux-gnu/esock_posix_str.o ../priv/obj\
/x86_64-unknown-linux-gnu/esock_openssl.o -lutil -ldl -lm -L/usr/local/lib -l\
ssl -lcrypto
Error:
/home/olympus/src/otp_src_R12B-0/lib/ssl/c_src/esock_openssl.c:909: undefined
reference to `SSL_CTX_set_info_callback'
collect2: ld returned 1 exit status
make[4]: *** [../priv/bin/x86_64-unknown-linux-gnu/ssl_esock] Error 1
in the file esock_openssl.c line 909
I commented out the following function - and then it compiles correctly and I
have not experianced any problems with SSL yet :)
/* info callback */
// if (debug)
// SSL_CTX_set_info_callback(ctx, info_callback);
More information about the erlang-bugs
mailing list