首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >找不到-lwebsock

找不到-lwebsock
EN

Ask Ubuntu用户
提问于 2014-07-23 06:23:11
回答 1查看 160关注 0票数 1

我正在安装詹纳斯网关以在Ubuntu14.04中实现WebRTC。

我已经根据文档安装了所有的依赖项,当我使用sh install.sh运行脚本时,会得到以下错误:

代码语言:javascript
复制
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。任何帮助都是值得感激的。

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2014-07-26 04:59:52

似乎您还没有正确安装libwebsock库。尝试使用下面的链接安装libwebsock库。https://github.com/payden/libwebsock/wiki/Installation

安装后,检查共享库libwebsock.so是否可用。如果是这样,您成功地安装了libwebsock库。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/501424

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档