OpenWrt Club OpenWrt Club
  • 首页
  • OpenWrt系统
  • OpenWrt插件
  • OpenWrt固件
  • 友人帐
  • OpneWrt 论坛
  • 注册
  • 登录
首页 › OpenWrt系统 › Ubuntu 18.04 编译OpenWRT遇到libwebsockets 重复问题

Ubuntu 18.04 编译OpenWRT遇到libwebsockets 重复问题

萝卜
3年前OpenWrt系统阅读 2,421

问题描述

因为Newifi 2d 总是不定时的断流所以这几天一直在折腾,但是没找到问题在哪里,今天想切换到吃灰的软路由上编译了X86的版本,期间遇到这么个问题,记录一下。

错误提示:

Collected errors:
 * check_data_file_clashes: Package libwebsockets-openssl wants to install file /home/luobo/lede/build_dir/target-x86_64_musl/root-x86/usr/lib/libwebsockets.so
    But that file is already provided by package  * libwebsockets-full
 * check_data_file_clashes: Package libwebsockets-openssl wants to install file /home/luobo/lede/build_dir/target-x86_64_musl/root-x86/usr/lib/libwebsockets.so.12
    But that file is already provided by package  * libwebsockets-full
 * opkg_install_cmd: Cannot install package libwebsockets-openssl.
package/Makefile:65: recipe for target 'package/install' failed
make[2]: *** [package/install] Error 255
make[2]: Leaving directory '/home/luobo/lede'
package/Makefile:108: recipe for target '/home/luobo/lede/staging_dir/target-x86_64_musl/stamp/.package_install' failed
make[1]: *** [/home/luobo/lede/staging_dir/target-x86_64_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/luobo/lede'
/home/luobo/lede/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2

很抱歉忘记记录上面是哪个文件出的问题,总之是libwebsockets-full 和libwebsockets-openssl冲突了,libwebsockets-full中已经包含了openssl,所以在配置文件中去掉一个就可以。

解决办法

libwebsockets-full中包含了很多,所以我这里选择取消libwebsockets-openssl

进入lede目录运行:

make menuconfig--->Libraries
Ubuntu 18.04 编译OpenWRT遇到libwebsockets 重复问题-OpenWrt Club

找到libwebsockets-openssl并取消选择保存在编译即可。

OpenSSL OpenWrt
赞(0) 收藏(0)
Ubuntu 18.04 编译OpenWRT遇到错误和解决办法
上一篇
OpenWrt 利用Docker 搭建Cloud Torrent 下载BT/PT种子
下一篇
再想想
暂无评论
聚合文章
OpenWrt 使用 Luci-app-frpc 配合Docker 内网穿透
OpenWrt 利用Docker 搭建Cloud Torrent 下载BT/PT种子
Ubuntu 18.04 编译OpenWRT遇到libwebsockets 重复问题
Ubuntu 18.04 编译OpenWRT遇到错误和解决办法
云标签
Adguard BT下载 Compose Docker LEDE OpenSSL OpenWrt OpenWrt功能 PassWall PT下载 Torrent Ubuntu 个性修改 内网穿透 固件编译 服务器 树莓派 端口映射 网站环境
Ubuntu 18.04 编译OpenWRT遇到错误和解决办法
3年前
4,016 0 2
OpenWrt 利用docker-compose 搭建网站环境
3年前
4,409 2 3
如何在 OpenWrt 中安装Docker Compose
3年前
11,093 106 15
Docker上运行Lean大源码编译的OpenWRT(初稿)
3年前
9,526 8 23
  • 0
  • 0
Copyright © 2019-2023 OpenWrt Club. Designed by nicetheme.
  • 首页
  • OpenWrt系统
  • OpenWrt插件
  • OpenWrt固件
  • 友人帐
  • OpneWrt 论坛
萝卜
茕茕孑立,孑孓而行。
13
文章
36
评论
104
喜欢