出现的问题解决方法:
libtinfo seems to be deprecated and the functions inside that lib has been moved to core libncurses.
solution for this is to symlink libtinfo.so.5 -> libncurses.so
by doing:
- sudo ln -s /lib/libncurses.so.5 /usr/lib/libtinfo.so.5 ---只需要这么一句话!原因参考下文转载
@localhost:~$ asy
Welcome to Asymptote version 1.55 (to view the manual, type help)
>
有益参考资料如下:
http://zhidao.baidu.com/question/66095681.html
1.linux执行脚本文件的时候报错!libtinfo.so.5在哪有下载?

usr/screen-4.0.2/bin/screen-4.0.2: error while loading shar ed libraries: libtinfo.so.5: cannot open shared object file: No such file or direc tory
最佳答案
现在的广告啊~~! 应该是缺少函数库文件的问题,至于它所处的位置应该是/usr/lib,当然,前提是你安装了它。 其实在安装系统的时候,如果安装了必要的组件的话,应该是拥有很全的函数库的,缺失的话,当然可以通过补充安装组件来解决,但是,经常因为我们不知道是缺少哪一个组件,而无法进行。 但是其实可以直接下载函数库,放在/usr/lib下。 http://rpmfind.net/linux/rpm2html/search.php?query=libtinfo.so.5 这个是一个网址,提供了那个函数库的rpm包的下载,安装那个rpm包应该就可以了,不需要手动设置别的东西。 但是这个网址提供的版本比较少,都是fedora的,不知道你的能用不?如果你的系统不是fedora,也可以尝试一下,当然,那就不一定成功了
2. http://biaoming.javaeye.com/blog/155194
解决libstdc++.so.5问题
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
apt-get install libstdc++5
apt-get install libstdc++5
解决办法1: 在下面包里有 libstdc++.so.5 然后复制到/usr/lib里
http://www.linuxidc.com/upload/2008_06/08062807082818.zip
该压缩包里有在Ubuntu系统下用锐捷进行认证的必需文件:myxrgsu, libpcap.so.0.6.2, libstdc++.so.5等 。。。
http://www.linuxidc.com/upload/2008_06/08062807082818.zip
该压缩包里有在Ubuntu系统下用锐捷进行认证的必需文件:myxrgsu, libpcap.so.0.6.2, libstdc++.so.5等 。。。
3. http://linux.chinaunix.net/techdoc/net/2009/07/05/1122014.shtml
error while loading shared libraries的解決方法 | |
| |
在linux下运行程序时,发现了error while loading shared libraries这种错误,一时间不知道解决办法,在网上搜索,终于解决了: ./tests: error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory 出现这类错误表示,系统不知道xxx.so放在哪个目录下,这时候就要在/etc/ld.so.conf中加入xxx.so所在的目录。 一般而言,有很多的so会存放在/usr/local/lib这个目录底下,去这个目录底下找,果然发现自己所需要的.so文件。 所以,在/etc/ld.so.conf中加入/usr/local/lib这一行,保存之后,再运行:/sbin/ldconfig –v更新一下配置即可。 [url=http://blog.youkuaiyun.com/dumeifang/archive/2008/09/22/2963223.aspx][/url] |
4.
libstdc++.so.5丢失的处理办法 今天在安装realplay时提示这个共享库找不到,错误信息为:error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory在/usr/lib下面发现有 /usr/lib/libstdc++.so.6.0.3 于是运行 ln -s /usr/lib/libstdc++.so.6.0.3 /usr/lib/libstdc++.so.5 创建一个符合连接,这个错误信息没有了。但是又出现错误信息:undefined symbol: _ZNSt24__default_alloc_templateILb1ELi0EE12_S_free_listE看来不行。还是删除了连接: rm /usr/lib/libstdc++.so.5 然后下载:[url]http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/compat-libstdc++-33-3.2.3-47.3.i386.rpm [/url]再安装 rpm -ivh compat-
libstdc++-33-3.2.3-47.3.i386.rpm 再重装producer,问题解决
附加知识!!!
原帖由 cvgmt 于 2008-12-2 17:12 发表![]()
我的操作系统是 Ubuntu 8.04,用
tar -C / -zxf asymptote-*.**.i386.tgz
装 Asymptote 的。自从 1.53 版本以来一直都这个出错提示,说缺少 libtinfo.so.5,因此每次都启动不了,没办法,只有拉 svn 版本的 ...
export LD_LIBRARY_PATH=/usr/local/lib: $LD_LIBRARY_PATH添加路径,另一种方法是在./configure时添加路径,具体见INSTALL文件。如果你是用bash,可以在用户目录下.bash_profile中添加LD_LIBRARY_PATH=/usr/local/lib: $LD_LIBRARY_PATH和export LD_LIBRARY_PATH两行,应该就没有问题了。
gc-7.1这个包你确定下了的?在Makefile.direct Makefile.dj中有编译termlib的选项。
google得知libtinfo.so.5这个是由ncurses提供的,但是一般ncurses都是默认安装的,所以你再试一下从源代码编译安装ncurses?
google得知libtinfo.so.5这个是由ncurses提供的,但是一般ncurses都是默认安装的,所以你再试一下从源代码编译安装ncurses?
网址: http://bbs.ctex.org/viewthread.php?tid=46873