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++-devel.i686 libstdc++-devel.x86_64
解决 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包,即可解决类似问题。
yum install postgresql-python postgresql-libs compat-postgresql-libs postgresql-server postgresql postgresql-devel
yum install ncurses-libs.i686 ncurses-devel.i686 compat-libstdc++-33.x86_64 compat-libstdc++-33.i686 compat-libstdc++-296.i686 libstdc++.i686 libstdc++-devel.i686
安装firebird 解决 libgds.so 不能加载的问题
yum install ncurses-libs.i686 ncurses-devel.i686
yum install compat-libstdc++-33.x86_64 compat-libstdc++-33.i686 compat-libstdc++-296.i686 libstdc++-devel.i686 libstdc++-devel.x86_64
yum install firebird
Centos7
rpm -ivh FirebirdCS-2.5.5.26952-0.amd64.rpm
Preparing… ################################# [100%]
file / from install of FirebirdCS-2.5.5.26952-0.amd64 conflicts with file from package filesystem-3.2-25.el7.x86_64
file /usr/lib64 from install of FirebirdCS-2.5.5.26952-0.amd64 conflicts with file from package filesystem-3.2-25.el7.x86_64
解决办法
Firebird-3.0.4.33054-0.amd64.tar.gz
源码方式安装
./install.sh
yum 提示缺少组件,按照提示完成安装
changeServerMode.sh 选择服务器模式
Which option would you like to choose: (super|classic) [super] 默认super
Firebird启动,完成安装