zhqiyi / webrtc2sip

Automatically exported from code.google.com/p/webrtc2sip
0 stars 0 forks source link

Webrtc2sip on Ubuntu 14.04 not working #174

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have got the following error while installing webrtc2sip. I have followed 
http://linux.autostatic.com/installing-webrtc2sip-on-ubuntu-1204.

I am getting the following message while installing. Please help me on this.

make -j `getconf _NPROCESSORS_ONLN`
make  all-am
make[1]: Entering directory `/usr/local/src/webrtc2sip'
g++  -g -O2   -o webrtc2sip webrtc2sip-mp_c2c.o webrtc2sip-mp_engine.o 
webrtc2sip-mp_mail.o webrtc2sip-mp_mediaproxy.o webrtc2sip-mp_mutex.o 
webrtc2sip-mp_net_transport.o webrtc2sip-mp_object.o webrtc2sip-mp_peer.o 
webrtc2sip-mp_proxyplugin.o webrtc2sip-mp_proxyplugin_consumer_audio.o 
webrtc2sip-mp_proxyplugin_consumer_video.o webrtc2sip-mp_proxyplugin_mgr.o 
webrtc2sip-mp_proxyplugin_producer_audio.o 
webrtc2sip-mp_proxyplugin_producer_video.o webrtc2sip-mp_session.o 
webrtc2sip-mp_session_av.o webrtc2sip-mp_wrap.o webrtc2sip-mp_db_sqlite.o 
webrtc2sip-sqlite3.o webrtc2sip-mp_db.o webrtc2sip-mp_db_model.o 
webrtc2sip-jsoncpp.o webrtc2sip-ActionConfig.o webrtc2sip-AudioResampler.o 
webrtc2sip-DDebug.o webrtc2sip-MediaContent.o webrtc2sip-MediaSessionMgr.o 
webrtc2sip-Msrp.o webrtc2sip-ProxyConsumer.o webrtc2sip-ProxyPluginMgr.o 
webrtc2sip-ProxyProducer.o webrtc2sip-SafeObject.o webrtc2sip-SipCallback.o 
webrtc2sip-SipEvent.o webrtc2sip-SipMessage.o webrtc2sip-SipSession.o 
webrtc2sip-SipStack.o webrtc2sip-SipUri.o webrtc2sip-SMSEncoder.o 
webrtc2sip-Xcap.o -L/usr/lib -L/usr/lib  -L/usr/local/lib -ltinySAK   
-L/usr/local/lib -ltinyNET   -L/usr/local/lib -ltinyHTTP   -L/usr/local/lib 
-ltinySIP   -L/usr/local/lib -ltinyDAV   -L/usr/local/lib -ltinySDP   
-L/usr/local/lib -ltinyBFCP   -L/usr/local/lib -ltinySIGCOMP   -L/usr/local/lib 
-ltinyMEDIA   -L/usr/local/lib -ltinyXCAP   -L/usr/local/lib -ltinySMS   
-L/usr/local/lib -ltinyMSRP   -L/usr/local/lib -ltinyRTP   -L/usr/local/lib 
-ltinyIPSec   -lxml2 -lpthread -lusb-1.0 -l pthread
/usr/bin/ld: webrtc2sip-sqlite3.o: undefined reference to symbol 
'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from 
command line
collect2: error: ld returned 1 exit status
make[1]: *** [webrtc2sip] Error 1
make[1]: Leaving directory `/usr/local/src/webrtc2sip'
make: *** [all] Error 2

Original issue reported on code.google.com by info.vip...@gmail.com on 16 Jan 2015 at 7:47

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi,
I've attached -ldl at the end of webrtc2sip_LDADD definition in the Makefile 
and now everything is all right.

Original comment by mszaj...@gmail.com on 23 Mar 2015 at 10:30