linux下报错:error while loading shared libraries

linux执行bin程序报:

error while loading shared libraries:libncurses.so.5: cannot open shared object file: No such file or directory

解决方法:

yum -y install libncurses.so.5

安装这个库之后有可能报:

error while loading shared libraries:libstdc++so.6: cannot open shared object file: No such file or directory

解决方法:

yum -y install libstdc++so.6

时间: 2024-08-05 07:05:01

linux下报错:error while loading shared libraries的相关文章

运行编译后的程序报错 error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory

运行编译后的程序报错  error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory -------------------------------------------------------------------------------------------------------------------------------------

解决tpcc_load 报错 error while loading shared libraries: libmysqlclient.so.20

在刚开始导入tpcc数据仓库时,可能会遇到 error while loading shared libraries: libmysqlclient.so.20这个错误,找不到库文件. 但是,通过find 能查找到这个文件 [[email protected] src]# find / -name libmysqlclient.so.20 /usr/local/mysql/lib/libmysqlclient.so.20 /usr/local/src/mysql-5.7.16/libmysql/

【MySQL案例】tpcc--执行tpcc_load报错error while loading shared libraries: libperconaserverclient.s

[报错信息] 针对mysql官方社区版进行测试的时候,执行tpcc_load脚本提示缺少libperconaserverclient.so.18库文件: time ./tpcc_load 127.0.0.1 tpcc1000 root"" 500 ./tpcc_load: error while loading sharedlibraries: libperconaserverclient.so.18: cannot open shared object file: Nosuch fi

mysql无法初始化 报错 error while loading shared libraries: libaio.so.1

仔细看了一下,这个错误是在执行./scripts/mysql_install_db --user=mysql & 的时候出现的. 于是安装了一下libaio ubuntu:apt-get install libaio-dev centos:yum install libaio 再次执行./scripts/mysql_install_db --user=mysql & 成功 启动mysql成功. 成功安装. 顺便说一下,包的作用是为了支持同步I/O.对于数据库之类的系统特别重要,因此在lin

安装文件报错error while loading shared libraries: libssl.so.6

http://www.openssl.org/source/  这里下载http://www.openssl.org/source/openssl-1.0.0r.tar.gz 安装命令为:tar -zxvf opensslopenssl-1.0.0r.tar.gzcd openssl-1.0.0r./configmake install 做链接for 32bit  ln-sf /usr/lib/libssl.so.10 /usr/lib/libssl.so.6 ln-sf /usr/lib/li

Linux运行错误:error while loading shared libraries: xxx.so.0:cannot open shared object file: No such fil

链接时可以通过-L和-l来指定自己的库,因此链接可以通过,但是运行时,系统仍无法找到指定的库,需要简单配置一下. 解决方法1: 可以直接在将自己的库所在路径添加到/etc/ld.so.conf文件中.但一般这个文件中的内容都是一句"include /etc/ld.so.conf.d/*.conf",因此最好在/etc/ld.so.conf.d/目录下新建一个文件 , 如"xxx.conf",然后将自己的库所在路径添加到这个conf文件中. 修改完文件后,以root身

Nginx 启动报错 (nginx: error while loading shared libraries: XXX: cannot open shared object file: No such file or directory ) 的解决办法

本文解决 Nginx 因库文件缺失而无法启动问题 没有采用缺失什么就安装什么的解决办法, 而是借助于另一个正常运行的Linux , 将其上的库文件发送给缺失库文件的 Linux 服务器 以 缺失  libharfbuzz.so.0 为例 , 其它库文件缺失 大同小异 前提摘要: 今天打开我的网址 www.cheery.pro 时发现,  多次重试也没反应, 这可怎么办? 这是怎么回事 问题探究: ping了一下服务器发现可以ping通,  于是猜测可能是Nginx 出现了问题, 打开宝塔面板,

Linux下error while loading shared libraries的解决方法

1. 出现error while loading shared libraries的原因 1-1. 不存在该共享库,如果是这个原因,需要下载或者编译该共享库先了. 1-2. 存在该共享库,但是找不到或者共享库的不对 如果是第二种情况,请继续往下看. 2.原因分析 系统查看共享库的过程:首先查找 /etc/ld.so.cache文件,如果找不到就查找环境变量里的LD_LIBRARY_PATH的值,如果找到了就到对应的目录加载该共享库,如果找不到就报error while loading share

解决ffmpeg执行报错“ffmpeg: error while loading shared libraries: libavdevice.so.58: cannot open shared object file: No such file or directory”的问题

问题现象: 执行ffmpeg命令后报错: ffmpeg: error while loading shared libraries: libavdevice.so.58: cannot open shared object file: No such file or directory 出问题的环境信息为: Fedora release 31 (Thirty One) ffmpeg-4.2.1 官方源码编译 看下需要哪些依赖: ldd ffmpeg 可以看到缺失的依赖 我们找下这些文件在哪里 f