Ifxpyが動くかもしれない。
Informix Client SDKをインストールしようとした。
まさかインストールできない!?
環境
- Windows10 Pro x64
- Vagrant
- Hyper-V
Box内の環境
- generic/debian10 (hyperv,19.26)
Install_InformixCSDK
# Get Informix CSDK
$ curl -OL http://myweb/ibm.csdk.4.50.FC1.LNX.tar
$ mkdir csdk
# extract tar file
$ tar -xvf ibm.csdk.4.50.FC1.LNX.tar -C csdk
$ cd csdk
# Install Informix CSDK
$ ./installclientsdk -i console
===============================================================================
Prerequisite Verification Check
-------------------------------
One or more prerequisite system libraries are not installed on your computer.
Install libncurses.so.5 and then restart the IBM Informix installation
program.
The installation cannot succeed until the minimum requirements are met. For
more information about the prerequisites, see your Installation Guide or check
with your System Administrator.
libncurse.so.5 が無いとInstallができないらしい。
解決方法
StackOverFlowの記事じゃ全く解決できなかった。
かといってInformix CSDKのdocには追加すべきLibraryは何も書いていない。
何か手掛かりがあるかもしれないと思い、
Docker HubでInformixのImageを眺めてみることにした。
ibmcom / informix-developer-database : 14.10.FC2DE のImage Historyの8行目と9行目に注目してほしい。
足らないライブラリをインストールしている。
しかもaptを使っているのでBase ImageはDebian系に違いない。
下記のものを入れれば動き出すに違いない。
足らないLibraryを入れる
$ sudo apt -y install libaio1 bc libncurses5 ncurses-bin libpam0g
$ sudo apt -y install libncurses5-dev libelf1
う、動いた!!