LoginSignup
1
0

More than 3 years have passed since last update.

CentOS6にfreetds1.1xを無理してインストール

Last updated at Posted at 2020-02-18

問題

CentOS6はまだ現役。たまにDB接続が切れるそうでfreetdsを最新にしてみることになった。
1.0からCentOS7がベースになっているので無理したくなかったが、いまさらOSを上げましょうは無駄口になる。

更新

既存freetdsはアンインストールしないままでもOK

cd /usr/local/src
wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.1.24.tar.gz
tar xvf freetds-1.1.24.tar.gz
cd freetds-1.1.24

./configure -prefix=/usr -libdir=/usr/lib64 -sysconfdir=/etc
make -j $(nproc)
sudo make install-exec

バージョン確認

#tsql -C

Compile-time settings (established with the "configure" script)
                            Version: freetds v1.1.24
             freetds.conf directory: /etc
     MS db-lib source compatibility: no
        Sybase binary compatibility: no
                      Thread safety: yes
                      iconv library: yes
                        TDS version: auto
                              iODBC: no
                           unixodbc: yes
              SSPI "trusted" logins: no
                           Kerberos: no
                            OpenSSL: yes
                             GnuTLS: no
                               MARS: yes

コンパイル中にいろいろ赤文字が出る。動作には問題なかった。 気がひくが、見なかったことにした。 近々サービス終了のため..

参照

https://www.freetds.org/
ftp://ftp.freetds.org/pub/freetds/stable
https://pkgs.org/download/freetds

2020/3/1にAWS Elastic Beanstalkのphp7.2以下はサポート終了になる。
報告すると、決まった質問が来た。ぬるい
淋しい熱帯魚は私のことだ。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0