ubuntu执行uci出现 uci: error while loading shared libraries: lib
问题描述
ubuntu下测试uci出现如下错误
root@virtual-machine:/home//uci# uci
uci: error while loading shared libraries: libuci.so: cannot open shared object file: No such file or directory
解决方案
修改/etc/ld.so.conf文件,在文件末尾增加/usr/local/lib路径,然后执行ldconfig立即生效
echo /usr/local/lib >>/etc/ld.so.conf
测试
再次输入uci可以看到如下输入
root@virtual-machine:/home/uci# uci
Usage: uci [<options>] <command> [<arguments>]Commands:batchexport [<config>]import [<config>]changes [<config>]commit [<config>]add <config> <section-type>add_list <config>.<section>.<option>=<string>del_list <config>.<section>.<option>=<string>show [<config>[.<section>[.<option>]]]get <config>.<section>[.<option>]set <config>.<section>[.<option>]=<value>delete <config>[.<section>[[.<option>][=<id>]]]rename <config>.<section>[.<option>]=<name>revert <config>[.<section>[.<option>]]reorder <config>.<section>=<position>Options:-c <path> set the search path for config files (default: /etc/config)-d <str> set the delimiter for list values in uci show-f <file> use <file> as input instead of stdin-m when importing, merge data into an existing package-n name unnamed sections on export (default)-N don't name unnamed sections-p <path> add a search path for config change files-P <path> add a search path for config change files and use as default-t <path> set save path for config change files-q quiet mode (don't print error messages)-s force strict mode (stop on parser errors, default)-S disable strict mode-X do not use extended syntax on 'show'
ubuntu执行uci出现 uci: error while loading shared libraries: lib相关推荐
- error while loading shared libraries: ../../lib/libopencv_core.so
error while loading shared libraries: ../../lib/libopencv_core.so 原文:http://blog.chinaunix.net/uid-2 ...
- Ubuntu 14.04报错: error while loading shared libraries libc++.so cannot open shared object file解决
# sudo apt-get install lib32stdc++6 # cd /usr/lib/x86_64-linux-gnu # sudo ln -sf libstdc++.so.6 libc ...
- matlab libjli.so,error while loading shared libraries: libjli.so 问题解决
问题描述: 执行jar命令,javac命令执行报错 javac: error while loading shared libraries: libjli.so: cannot open shared ...
- 配置linux的jdk报错error while loading shared libraries: libjli.so
问题描述: 执行jar命令,javac命令执行报错 javac: error while loading shared libraries: libjli.so: cannot open shar ...
- sqlplus: error while loading shared libraries
2019独角兽企业重金招聘Python工程师标准>>> 错误: sqlplus: error while loading shared libraries: ../lib/libcl ...
- Ubuntu安装Caffe .build_release/tools/caffe: error while loading shared libraries: libcudart.so.8.0
Ubuntu 安装caffe GPU版本的时候遇到 .build_release/tools/caffe: error while loading shared libraries: libcudar ...
- 安装了libevent和memcached之后却发现在执行的时候出现了 error while loading shared libraries问题...
今天晚上心血来潮装libevent和memcached,可是却出现了奇葩的问题,结果一看越来是引导文件的路径不对! 我遇到 error while loading shared libraries: ...
- 执行srvctl报错 :error while loading shared libraries: libpthread.so.0:
执行srvctl是报错error while loading shared libraries: libpthread.so.0:[oracle@rac02 ~]$ srvctl /opt/ora10 ...
- Linux/ubuntu:Chrome报错解决: error while loading shared libraries: libnss3.so libXss.so.1 libasound.so.
下午在用nodejs在linux上操作puppeteer/chromium/chrome时报错如下: -> # node search.js count is 1 (node:15360) Un ...
最新文章
- 新发现为类脑计算机开辟了道路
- python之vscode中手动选择python解释器(mac)
- 1.4.1.Documents,Fields和Schema概述
- tms570 can 接收大量数据_CAN通讯系列--CAN总线基础3
- 矩阵分析与多元统计II 二次型与二次曲面3 二次型及其标准形的定义
- Linux基础命令---comm
- 学会了Python之后,我的职业生涯突飞猛进
- dma接收双缓存 stm32_「STM32学习笔记」USART 新特性
- 小米总参php面试题_php面试题之二——Javascript(基础部分)
- 执行sql报错:Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in
- 电子地图下载器的地图级别与对应分辨率
- 英语期刊写作-通往国际学术舞台的阶梯第五章答案
- 扫读笔好还是点读笔好 有什么区别
- 深度卷积神经网络的过程详解——综述
- html2pdf无法导出图片解决方案(2020版)
- 当你追求女生时,你们聊些什么?
- 腾讯微信面试题:侧重科班基础
- 内网漫游(lateral movement)的破解之道
- Java 11 JDK
- C# 一些零零碎碎的方法,都是些帮助类,留存,也希望能帮助到各位