linux – 错误加载共享库libstdc .so.5时出错
发布时间:2020-12-14 01:15:11 所属栏目:Linux 来源:网络整理
导读:我正在尝试运行一个名为GlimmerHMM的程序,但是当我尝试调用该程序时,我收到此错误: ./glimmerhmm_linux./glimmerhmm_linux: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory 所以我尝试
我正在尝试运行一个名为GlimmerHMM的程序,但是当我尝试调用该程序时,我收到此错误:
./glimmerhmm_linux ./glimmerhmm_linux: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory 所以我尝试下载和安装: sudo apt-get install libstdc++5 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: html2text libmail-sendmail-perl libsys-hostname-long-perl Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libstdc++5 0 upgraded,1 newly installed,0 to remove and 183 not upgraded. Need to get 255 kB of archives. After this operation,1,155 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ precise/universe libstdc++5 amd64 1:3.3.6-25ubuntu1 [255 kB] Fetched 255 kB in 4s (54.0 kB/s) Selecting previously unselected package libstdc++5. (Reading database ... 176303 files and directories currently installed.) Unpacking libstdc++5 (from .../libstdc++5_1%3a3.3.6-25ubuntu1_amd64.deb) ... Setting up libstdc++5 (1:3.3.6-25ubuntu1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place 但是在调用程序时我仍然会遇到同样的错误.提前致谢! 解决方法
有可能的是,如果你运行的程序已经足够老了需要libstdc v5,它也是一个32位应用程序,所以它不能使用你安装的(64位)libstdc 5.安装ia32-libs包.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 在Linux上从pecl安装php扩展(xdiff)
- linux内核 – Linux驱动程序
- linux – Bash脚本 – 通过“变量”变量名来迭代关联数组列
- Linux基础随笔(关于限制用户单一文件大小及使用系统自带的
- linux-kernel – perf_event_paranoid == 1实际上对x86 per
- Linux服务器和CPU /电源限制的最佳实践?
- Bambuser ffmpeg – “arm-linux-androideabi-gcc无法创建可
- 进程 – Linux内核编程:试图让vm_area_struct-> vm_start崩
- 使用Linux恢复Windows跨磁盘(LDM)?
- linux基本命令