![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
各种库安装
ajuse
技术宅改变世界!
展开
-
linux编译提示-lcrypto失败,安装crypto库
手动安装crypto1、从官网下载源码包https://www.openssl.org/source/old/2、解压源码包到/usr目录下,当然也可以自己定义#sudo tar xzvf openssl-1.1.0e.tar.gz -C /usr/3、进入openssl-1.1.0e目录进行安装#cd /usr/openssl-1.1.0e/#sudo ./confi...原创 2018-12-20 14:48:01 · 8746 阅读 · 0 评论 -
ubuntu编译错误:You are building kernel with non-retpoline compiler, please update your compiler
ubuntu16.04在编译某个内核模块时,突然提示错误:arch/x86/Makefile:245: *** You are building kernel with non-retpoline compiler, please update your compiler.. Stop.正如字面意思,需要升级编译器,比如gcc,当前ubuntu16.04上使用的是gcc4.9(非默认的gc...原创 2019-06-27 14:42:06 · 10576 阅读 · 1 评论 -
Ubuntu卸载protobuf并安装3.6.0版本的protobuf
1.卸载Ubuntu自带的protobuf;# sudo apt-get remove libprotobuf-dev# which protoc// 运行完“which protoc”会显示一个protoc的路径,如果没有显示则下面这条命令不必执行# rm /usr/local/bin/protoc// 具体路径以“which protoc”显示的为准到此,低版本的protobu...转载 2019-06-25 20:49:22 · 2519 阅读 · 0 评论 -
解决ubuntu更新源apt-get update时提示NO_PUBKEY
例如:Err:7 http://mirrors.163.com/debian-security jessie/updates InReleaseThe following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY ...原创 2019-05-23 11:09:35 · 1711 阅读 · 0 评论 -
ubuntu git clone 速度慢解决方法
1、编辑/etc/hostssudo vim /etc/hosts2、在hosts文件末尾添加如下格式:192.30.253.112 github.com151.101.44.249 github.global.ssl.fastly.net3、更新DNS缓存sudo /etc/init.d/networking restart原文:https://blog.csdn.net...转载 2019-05-23 10:08:40 · 5829 阅读 · 0 评论 -
ubuntu 16.04 LTS 降级安装gcc 4.8
由于gcc在5.x版本修改了ABI,导致新版本gcc编译的二进制文件放在老的环境下会报错,所以需要安装gcc4.8.5。4.8.5这个版本支持c++11。首先尝试下载gcc-4.8.5的源码编译安装,结果make时报错“libstdc++.so.6: : version `CXXABI_1.3.8' not found”。查了一下,不能用新版gcc来编译老版的gcc源码。其实,在ubunt...转载 2019-05-08 16:27:50 · 168 阅读 · 0 评论 -
在Mac上使用SD烧写BananaPi-M2+ ubuntu镜像
1.首先使用SD Card Formatter进行格式化SD卡,选择Quick Format模式即可2.打开Terminal查看disk,找到SD卡所在的disk标号。比如disk3,完整路径为/dev/disk3 diskutil list3.取消挂载 diskutil unmountDisk + /dev/disk3,4.使用准备好的ubunt的img镜像烧录到S...原创 2019-03-17 15:50:07 · 631 阅读 · 0 评论 -
Ubuntu16.04以上版本编译openwrt系统时提示找不到automake1-14
1、查看当前系统是否安装了automake,如果安装了则需要查看automake的版本,Ubuntu16.04版本默认是automake1-15;2、安装automake1-14 从官网下载http://ftp.gnu.org/gnu/automake,automake-1.14.1.tar.gz版本; 当然也可以使用命令:wget http://ftp.gnu.org/g...原创 2019-01-07 17:22:25 · 1878 阅读 · 0 评论 -
openwrt系统移植Python
1、在openwrt系统上使用opkg的方式安装Python有关的库时,又时会遇到麻烦,还需要注意安装顺序;所以打算编译一个能直接在openwrt上跑的Python;Python源码下载:可以直接去官网下载https://www.python.org/downloads/,这里使用的Python2.7.7版本交叉编译工具:直接使用openwrt工程下的交叉编译工具链,如果没有最好能编译一下...原创 2019-01-11 11:34:38 · 2635 阅读 · 0 评论 -
关于error: possibly undefined macro: AC_PROG_LIBTOOL问题解决
通过baidu或者google,大多数解决方案都是通过安装libtool,不同的平台有不同的安装方式; 比如ubuntu安装:sudo apt-get install libtool 大多数情况下都能解决问题;但是通过安装libtool也不能解决问题的,可能要尝试一下其他的解决方案:一般通过apt-get安装的软件都会在/usr目录下,既然提示无法找到AC_PROG_LIB...原创 2019-06-24 17:56:18 · 10541 阅读 · 1 评论