首页 > 其他分享 >error while loading shared libraries解決办法

error while loading shared libraries解決办法

时间:2024-02-02 15:23:31浏览次数:18  
标签:loading libraries 解決 while conf error shared

报错

error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory……

找不到库文件

排查解决

首先,查找文件是否存在。

然后,在/etc/ld.so.conf.d/目录下新建一文件,名字自行决定websockets.conf。添加库文件到以下目录中:

/usr/local/lib

最后,执行ldconfig命令,更新一下动态库的运行时绑定:

$ ldconfig

 

标签:loading,libraries,解決,while,conf,error,shared
From: https://www.cnblogs.com/linux-learn/p/18003239

相关文章

  • 【Loading】ctfshow_WriteUp | _萌新
    萌新_密码1题目密文:53316C6B5A6A42684D3256695A44566A4E47526A4D5459774C5556375A6D49324D32566C4D4449354F4749345A6A526B4F48303D提交格式:KEY{XXXXXXXXXXXXXX}分析所有字符由数字和ABCDEF组成,先用HEX解码得到S1lkZjBhM2ViZDVjNGRjMTYwLUV7ZmI2M2VlMDI5OGI4ZjRkOH0=。......
  • mysql: error while loading shared libraries: libncurses.so.6: cannot open shared
    查找没有libncurses.so.5,可能有libncurses.so不同版本的文件,使用命令find/-name'libncurses*'复制+覆盖软链接先复制到lib64文件夹,再用软链接重新覆盖一下[root@lab-aliyunwzx]#cp/home/wll/miniconda3/lib/libncurses.so.6/lib64[root@lab-aliyunwzx]#cd/lib6......
  • view_resource_count Vs loading time from avg by last 7 days and work priority
    firstwecangetthescatteredchartfromguanceconsoleforthelast7daysexportthatdatatocsvfilefromthedownloadbuttonimportdatatoRstudioforanalysischeckcorralationbetweenview_resource_countandloadingtimeplotforviewadjustyforthe......
  • Uncaught (in promise) ChunkLoadError: Loading chunk commons.xxxxxxxxx failed
    报错信息如下:Uncaught(inpromise)ChunkLoadError:Loadingchunkcommons.pages_index.pages_teacher_indexfailed. (error:http://localhost:3000/_nuxt/commons.pages_index.pages_teacher_index.js)发生情景:打开多标签时,Nuxt程序崩溃:我有一个vue、nuxt应用程序......
  • jenkins启动报错:Failed Loading global config
    jenkins启动报错:FailedLoadingglobalconfig 问题起因:想在构建项目中使用复选框(ExtendedChoiceParameter),需要安装ExtendedChoiceParameter插件,但是因为版本过低的原因,导致插件无法正常安装。然后根据提示,就在jenkins的web页面进行了自动升级。但是在升级过程中......
  • loading改用react hooks
    //子组件importReact,{useState,useEffect}from'react';import{Modal}from'antd';constChildComponent=({onCancel})=>{const[loading,setLoading]=useState(true);//useEffect监听父组件取消事件useEffect(()=>{......
  • Encountered fatal error while reloading routing: Routing trace file does not mat
      efinity编译在routersetup时候报错Encounteredfatalerrorwhilereloadingrouting:Routingtracefiledoesnotmatchnetlist(netlistnetcount24888v.tracenetcount0).  解决方案:检查客户工程的PNR页面。beneficialskew页面是否打开,如果是on状态,试......
  • 使用Mixtral-offloading在消费级硬件上运行Mixtral-8x7B
    Mixtral-8x7B是最好的开放大型语言模型(LLM)之一,但它是一个具有46.7B参数的庞大模型。即使量化为4位,该模型也无法在消费级GPU上完全加载(例如,24GBVRAM是不够的)。Mixtral-8x7B是混合专家(MoE)。它由8个专家子网组成,每个子网有60亿个参数。8位专家中只有2位在解码期间有效,因此可......
  • css3 loading特效
    一个样式类,一个容器,无须额外元素:<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><title>LoadingAnimation</title><style>#app{height:100vh;display:flex;alig......
  • vue中使用Vue.extend方法仿写一个loading加载中效果
    需求描述本文我们使用vue的extend方法实现一个全屏loading加载效果,需求如下:通过命令就可以让弹框开启或关闭,比如this.$showDialog()开启,this.$hideDialog()关闭方法可以传参更改loading中的文字也可以传参更改loading背景色当然这里除了文字,背景色什么的,也可以传递更多的参......