linux – 错误加载共享库libstdc .so.5时出错

linux – 错误加载共享库libstdc .so.5时出错,第1张

概述我正在尝试运行一个名为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++5Reading package Lists... DoneBuilding dependency tree       Reading state information... DoneThe following packages were automatically installed and are no longer required:HTML2text libmail-sendmail-perl libsys-hostname-long-perlUse 'apt-get autoremove' to remove them.The following NEW packages will be installed: libstdc++50 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 – 错误加载共享库libstdc .so.5时出错全部内容,希望文章能够帮你解决linux – 错误加载共享库libstdc .so.5时出错所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/yw/1026878.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-23
下一篇2022-05-23

发表评论

登录后才能评论

评论列表(0条)

    保存