Help us understand the problem. What is going on with this article?

Debian10でInformix CSDKをインストール

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

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away