当前位置: > Linux故障 >

Firebird安装问题

时间:2014-12-20 21:32来源:linux.it.net.cn 作者:IT

rpm -ivh FirebirdSS-2.1.6.18547-0.amd64.rpm
error: Failed dependencies:
libncurses.so.5 is needed by FirebirdSS-2.1.6.18547-0.amd64
libstdc++.so.5 is needed by FirebirdSS-2.1.6.18547-0.amd64

yum install ncurses-libs.i686 ncurses-devel.i686
解决 libncurses.so.5 is needed by FirebirdSS-2.1.6.18547-0.amd64

yum install compat-libstdc++-33.x86_64 compat-libstdc++-33.i686 compat-libstdc++-296.i686
解决 libstdc++.so.5 is needed by FirebirdSS-2.1.6.18547-0.amd64

思路:
首先找台没问题的服务器
find / -name libncurses.so.5
find / -name libstdc++.so.5

/lib/libncurses.so.5
/lib64/libncurses.so.5

/usr/lib/libstdc++.so.5
/usr/lib64/libstdc++.so.5

rpm -qf /lib/libncurses.so.5
ncurses-libs-5.7-3.20090208.el6.i686
rpm -qf /lib64/libncurses.so.5
ncurses-libs-5.7-3.20090208.el6.x86_64

然后 yum 相对应的rpm包,即可解决类似问题。


 

(责任编辑:IT)
------分隔线----------------------------