CentOS 6 / 7 に libtommath.so.0 を入れる方法が不明
/opt/firebird/bin/fbguard: error while loading shared libraries: libtommath.so.0: cannot open shared object file: No such file or directory [失敗]
となる
firewall
yum -y update
yum -y install libstdc++.so.5
yum -y install libstdc++.so.6
yum -y install libncurses.so.5
cd /usr/local/src
ls
tar zxvf Firebird-3.0.2.32703-0.i686.tar.gz
ls
cd Firebird-3.0.2.32703-0.i686
ls
./install.sh
Firebird 3.0.2.32703-0.i686 Installation
Press Enter to start installation or ^C to abort
Press Enter to start installation or ^C to abort
Enterキーを押します
Please enter new password for SYSDBA user:
masterkey
Press Enter to start installation or ^C to abort
Extracting install data
Updated /etc/services
Please enter new password for SYSDBA user: masterkey
/opt/firebird/bin/gsec: error while loading shared libraries: libtommath.so.0: cannot open shared object file: No such file or directory
Starting Firebird server [default] /usr/bin/dirname: extra operand `-daemon'
詳しくは `/usr/bin/dirname --help' を実行して下さい.
/opt/firebird/bin/fbguard: error while loading shared libraries: libtommath.so.0: cannot open shared object file: No such file or directory
[失敗]
Starting Firebird server [default] /usr/bin/dirname: extra operand `-daemon'
詳しくは `/usr/bin/dirname --help' を実行して下さい.
/opt/firebird/bin/fbguard: error while loading shared libraries: libtommath.so.0: cannot open shared object file: No such file or directory
[失敗]
Looks like standalone server failed to start
Trying to continue anyway...
Install completed
[root@localhost Firebird-3.0.2.32703-0.i686]#
Extracting install data
Updated /etc/services
Please enter new password for SYSDBA user: masterkey
/opt/firebird/bin/gsec: error while loading shared libraries: libtommath.so.0: cannot open shared object file: No such file or directory
Starting Firebird server [default] /usr/bin/dirname: extra operand `-daemon'
詳しくは `/usr/bin/dirname --help' を実行して下さい.
/opt/firebird/bin/fbguard: error while loading shared libraries: libtommath.so.0: cannot open shared object file: No such file or directory
[失敗]
Starting Firebird server [default] /usr/bin/dirname: extra operand `-daemon'
詳しくは `/usr/bin/dirname --help' を実行して下さい.
/opt/firebird/bin/fbguard: error while loading shared libraries: libtommath.so.0: cannot open shared object file: No such file or directory
[失敗]
Looks like standalone server failed to start
Trying to continue anyway...
Install completed
[root@localhost Firebird-3.0.2.32703-0.i686]#
cd /opt/firebird/bin
./isql -u sysdba -p masterkey
./isql -u sysdba -p masterkey
CentOS 7
rpm -ihv libtommath-0.42.0-4.el7.x86_64.rpm
Done.
Deleting...
Done.
Extracting install data
Please enter new password for SYSDBA user: masterkey
/opt/firebird/bin/gsec: error while loading shared libraries: libtommath.so.0: cannot open shared object file: No such file or directory
Fatal error running 'systemctl --quiet start firebird-superserver.service' - exiting
Deleting...
Done.
Extracting install data
Please enter new password for SYSDBA user: masterkey
/opt/firebird/bin/gsec: error while loading shared libraries: libtommath.so.0: cannot open shared object file: No such file or directory
Fatal error running 'systemctl --quiet start firebird-superserver.service' - exiting
ftp://ftp.muug.mb.ca/mirror/fedora/linux/releases/23/Everything/x86_64/os/Packages/l/libtommath-0.42.0-6.fc23.x86_64.rpm
download
cd /usr/local/src
rpm -ihv libtommath-0.42.0-6.fc23.x86_64.rpm
tar zxvf Firebird-3.0.2.32703-0.i686.tar.gz
ls
./install.sh
chkconfig --list firebird
service firebird stop
service firebird start
mkdir /var/fdb
chown -R firebird.root /var/fdb
cd /usr/local/src
rpm -ihv libtommath-0.42.0-6.fc23.x86_64.rpm
tar zxvf Firebird-3.0.2.32703-0.i686.tar.gz
ls
./install.sh
chkconfig --list firebird
service firebird stop
service firebird start
mkdir /var/fdb
chown -R firebird.root /var/fdb
cd /opt/firebird/bin
./isql -u sysdba -p masterkey
./isql -u sysdba -p masterkey
create database '/var/fdb/TEST.FDB';
exit;
ls /var/fdb
yum -y install gcc
yum -y install readline
yum -y install readline-devel
yum -y install zlib
yum -y install zlib-devel
exit;
ls /var/fdb
yum -y install gcc
yum -y install readline
yum -y install readline-devel
yum -y install zlib
yum -y install zlib-devel
epel-release-6-8.noarch.rpm
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
cenos6
firewall
yum -y update
yum -y install libstdc++.so.5
yum -y install libstdc++.so.6
yum -y install libncurses.so.5
cd /usr/local/src
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sansyo
https://centos.pkgs.org/6/epel-x86_64/libtommath-devel-0.42.0-3.el6.x86_64.rpm.html
rpm -Uvh epel-release-6-8.noarch.rpm
yum install libtommath-devel
wget https://sourceforge.net/projects/firebird/files/firebird-linux-i386/3.0.2-Release/Firebird-3.0.2.32703-0.i686.tar.gz
tar zxvf Firebird-3.0.2.32703-0.i686.tar.gz
cd Firebird-3.0.2.32703-0.i686
./install.sh
./isql -u sysdba -p masterkey
CREATE DATABASE /var/fdb/TEST4.FDB page_size 8192 default character set utf8;↵
CREATE DATABASE '/var/fdb/TEST4.FDB' page_size 8192 default character set utf8;↵
CREATE DATABASE '/var/fdb/TEST5.FDB' default character set utf8;↵
exit;