webrtc2sip编译错误

时间:2015-11-27 05:33:21

标签: openssl webrtc redhat rhel

在出现错误后,在红帽企业Linux服务器版本6.4(圣地亚哥)中编译webrtc2sip时。

/usr/local/lib/libtinyNET.so: undefined reference to `EC_KEY_free'
/usr/local/lib/libtinyNET.so: undefined reference to `SSL_export_keying_material'
/usr/local/lib/libtinyNET.so: undefined reference to `SSL_CTX_set_tlsext_use_srtp'
/usr/local/lib/libtinyNET.so: undefined reference to `SSL_get_selected_srtp_profile'
/usr/local/lib/libtinyNET.so: undefined reference to `EC_KEY_new_by_curve_name'
collect2: ld returned 1 exit status
make[1]: *** [webrtc2sip] Error 1
make[1]: Leaving directory `/root/webrtc2sip'
make: *** [all] Error 2

注意: Doubango配置选项:

./configure --with-ssl --with-srtp --with-vpx --with-speexdsp --with-ffmpeg --with-opus

编译没有任何问题

我在同一错误(https://groups.google.com/forum/#!msg/doubango/qfuSwFnPjc8/lj6p1UTOkxcJ

上看到了一些帖子

我发现它的原因是两个版本的ssl。但我并没有为我的案子得到确切的答案。

我通过以下步骤安装了openssl:

wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz
tar -xvzf openssl-1.0.1c.tar.gz
cd openssl-1.0.1c
./config shared --prefix=/usr/local --openssldir=/usr/local/openssl && make && make install

当我检查openssl版本时,我得到这些信息:

[root@cluster ~]# openssl version
OpenSSL 1.0.1c 10 May 2012
[root@cluster ~]# rpm -qa | grep openssl
openssl098e-0.9.8e-17.el6_2.2.x86_64
openssl-1.0.0-27.el6.x86_64
openssl-devel-1.0.0-27.el6.x86_64

任何机构都可以指导我如何解决这个编译问题吗?

0 个答案:

没有答案