我正在安装詹纳斯网关以在Ubuntu14.04中实现WebRTC。
我已经根据文档安装了所有的依赖项,当我使用sh install.sh运行脚本时,会得到以下错误:
gcc -fstack-protector-all -g -ggdb -rdynamic -o test test.o -lwebsock
/usr/bin/ld: cannot find -lwebsock
collect2: error: ld returned 1 exit status
make[1]: *** [test] Error 1
make[1]: Leaving directory `/home/gayan/MyDetails/MyApplications/virtualClassRoomTest/janus-gateway/wstest'
make: *** [wstest] Error 2
The installer couldn't find the libwebsock lib, which is needed for WebSockets
You can install version 1.0.4 (required!) with the following steps:
wget http://paydensutherland.com/libwebsock-1.0.4.tar.gz
tar xfv libwebsock-1.0.4.tar.gz
cd libwebsock-1.0.4
./configure --prefix=/usr && make && sudo make install
[Note: you may need to pass --libdir=/usr/lib64 to the configure script if you're installing on a x86_64 distribution]我还使用上述步骤安装了libwebsock。任何帮助都是值得感激的。
发布于 2014-07-26 04:59:52
似乎您还没有正确安装libwebsock库。尝试使用下面的链接安装libwebsock库。https://github.com/payden/libwebsock/wiki/Installation
安装后,检查共享库libwebsock.so是否可用。如果是这样,您成功地安装了libwebsock库。
https://askubuntu.com/questions/501424
复制相似问题