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启动,完成安装
Ubuntu源码安装,提示错误
error while loading shared libraries: libncurses.so.5
解决:
apt-get install libncurses5
rpm -ivh FirebirdCS-2.5.9.27139-0.amd64.rpm –force –nodeps
准备中… ################################# [100%]
grep: /etc/xinetd.d/*: 没有那个文件或目录
正在升级/安装…
1:FirebirdCS-2.5.9.27139-0 ################################# [100%]
Updated /etc/services
Linux安装Firebird
1. Add to the file /etc/sysctl.conf the following line:
vm.max_map_count = 256000
2. Save sysctl.conf and apply new settings:
sudo sysctl -p /etc/sysctl.conf
3. Install packages
CentOS8
sudo yum -y install epel-release
sudo yum -y makecache
sudo yum -y install libicu libtommath tar
sudo ln -s libncurses.so.6 /usr/lib64/libncurses.so.5
sudo ln -s libtommath.so.1 /usr/lib64/libtommath.so.0
curl -L https://github.com/FirebirdSQL/firebird/releases/download/R2_5_9/FirebirdCS-2.5.9.27139-0.amd64.tar.gz|tar -zxC /tmp
4. And then, install Firebird:
cd /tmp/FirebirdCS-2.5.9.27139-0.amd64
sudo ./install.sh
then, check that Firebird is running – the command below will show all processes related with Firebird or running under user firebird:
ps aux | grep firebird