LoginSignup
1
0

More than 3 years have passed since last update.

Debian10でInformix CSDKをインストール

Last updated at Posted at 2019-09-06

Ifxpyが動くかもしれない。

Informix Client SDKをインストールしようとした。

まさかインストールできない!?

環境

  • Windows10 Pro x64
  • Vagrant
  • Hyper-V

Box内の環境

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 

う、動いた!!

参考サイト

lib32ncurses-dev

ibmcom / informix-developer-database : 14.10.FC2DE

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