From: Youness A. <you...@co...> - 2011-01-07 04:55:43
|
Hi, I'm currently on Fedora 14 and turnserver 0.4 does not build correctly on it. The error is at link time and it gives me : /usr/bin/ld: tls_peer.o: undefined reference to symbol 'ERR_reason_error_string' /usr/bin/ld: note: 'ERR_reason_error_string' is defined in DSO /lib/libcrypto.so.10 so try adding it to the linker command line /lib/libcrypto.so.10: could not read symbols: Invalid operation collect2: ld returned 1 exit status After a bit of googling, I found this explanation here : http://fedoraproject.org/wiki/UnderstandingDSOLinkChange To fix it, I just had to add AC_CHECK_LIB(crypto, ERR_reason_error_string,,[echo -e "\tPlease install libssl-dev";exit]) in the configure.ac, right after AC_CHECK_LIB(ssl, SSL_new,,[echo -e "\tPlease install libssl-dev";exit]) This way, it will link with -lcrypto Let me know if you want an actual patch to apply or this one-line change is fine. Thanks for patching it for the next version! Youness. |