IBM Support

Missing ibmibmldap64.a file for AIX

Question & Answer


Question

You receive this error when running your application on the AIX system: Can not find libibmldap64.a

Answer

This is an example to install LDAP Client filesets for AIX to have the libibmldap64.a

Procedure:
-------
I just downloaded the latest LDAP 6.3.1.20 from Fix Central and how I installed it.

This is the LDAP 6.3.1 file that I downloaded on my AIX system:
# ls -l
total 323424
-rw-r----- 1 root system 165591315 Dec 21 08:41 6.3.1.20-ISS-ISDS-AIX-IF0020.tar.gz

Make sure your byte count is identical.

After I gunzip and untar it, a new directory is created:
6.3.1.20-ISS-ISDS-AIX-IF0020

In the 6.3.1.20-ISS-ISDS-AIX-IF0020 directory, I see the following:
# ls -l
total 176
-rwxr-xr-x 1 306273 462988 19744 Dec 13 10:54 idsNonRootDB2Install
-rwxr-xr-x 1 306273 462988 4547 Dec 13 10:54 ids_detectGskitVersion
-rwxr-xr-x 1 306273 462988 20867 Dec 13 10:54 ids_nonroot_DataImport
-rwxr-xr-x 1 306273 462988 25674 Dec 13 10:54 idsinstall
drwxr-xr-x 2 306273 462988 4096 Dec 13 10:54 images
drwxr-xr-x 2 306273 462988 4096 Dec 13 10:54 license

First, go into license dir and run the "idsLicense" script:
# cd license
# ./idsLicense

A bunch of stuff will scroll by, ending with the following:
Press Enter to continue viewing the license agreement, or,
Enter "1" to accept the agreement, "2" to decline it
or "99" to go back to the previous screen, "3" Print.

Enter 1 to accept the license agreement which takes you back to the command prompt.

Now go back out to the "images".

In the images directory you should see the following:
# ls -l
total 363288
-rw-r--r-- 1 306273 462988 12982 Dec 13 10:54 .toc
-rw-r--r-- 1 306273 462988 2240512 Dec 13 10:54 idsldap.clt32bit631
-rw-r--r-- 1 306273 462988 2331648 Dec 13 10:54 idsldap.clt64bit631
-rw-r--r-- 1 306273 462988 1320960 Dec 13 10:54 idsldap.clt_max_crypto32bit631
-rw-r--r-- 1 306273 462988 1382400 Dec 13 10:54 idsldap.clt_max_crypto64bit631
-rw-r--r-- 1 306273 462988 2724864 Dec 13 10:54 idsldap.cltbase631
-rw-r--r-- 1 306273 462988 1051648 Dec 13 10:54 idsldap.cltjava631
-rw-r--r-- 1 306273 462988 24576 Dec 13 10:54 idsldap.license631
-rw-r--r-- 1 306273 462988 838656 Dec 13 10:54 idsldap.msg631.cs_CZ
-rw-r--r-- 1 306273 462988 838656 Dec 13 10:54 idsldap.msg631.de_DE
-rw-r--r-- 1 306273 462988 293888 Dec 13 10:54 idsldap.msg631.en_US
-rw-r--r-- 1 306273 462988 819200 Dec 13 10:54 idsldap.msg631.es_ES
-rw-r--r-- 1 306273 462988 833536 Dec 13 10:54 idsldap.msg631.fr_FR
-rw-r--r-- 1 306273 462988 855040 Dec 13 10:54 idsldap.msg631.hu_HU
-rw-r--r-- 1 306273 462988 829440 Dec 13 10:54 idsldap.msg631.it_IT
-rw-r--r-- 1 306273 462988 915456 Dec 13 10:54 idsldap.msg631.ja_JP
-rw-r--r-- 1 306273 462988 874496 Dec 13 10:54 idsldap.msg631.ko_KO
-rw-r--r-- 1 306273 462988 844800 Dec 13 10:54 idsldap.msg631.pl_PL
-rw-r--r-- 1 306273 462988 822272 Dec 13 10:54 idsldap.msg631.pt_BR
-rw-r--r-- 1 306273 462988 935936 Dec 13 10:54 idsldap.msg631.ru_RU
-rw-r--r-- 1 306273 462988 832512 Dec 13 10:54 idsldap.msg631.sk_SK
-rw-r--r-- 1 306273 462988 800768 Dec 13 10:54 idsldap.msg631.zh_CN
-rw-r--r-- 1 306273 462988 803840 Dec 13 10:54 idsldap.msg631.zh_TW
-rw-r--r-- 1 306273 462988 8278016 Dec 13 10:54 idsldap.srv64bit631
-rw-r--r-- 1 306273 462988 3389440 Dec 13 10:54 idsldap.srv_max_cryptobase64bit631
-rw-r--r-- 1 306273 462988 29685760 Dec 13 10:54 idsldap.srvbase64bit631
-rw-r--r-- 1 306273 462988 2454528 Dec 13 10:54 idsldap.srvproxy64bit631
-rw-r--r-- 1 306273 462988 59821056 Dec 13 10:54 idsldap.webadmin631
-rw-r--r-- 1 306273 462988 59095040 Dec 13 10:54 idsldap.webadmin_max_crypto631

Inside the "images" directory, use the following smit options to install LDAP client filesets:
# smit installp
-> Install and Update from ALL Available Software
For input device/directory, enter a period (.) for current directory
-> Hit Enter to go to next screen
At "Software to install prompt" hit F4 (or equivalent) to bring up a list
Select the following to install:
idsldap.clt32bit631
idsldap.clt64bit631
idsldap.license631
idsldap.msg631.en_US
-> Hit Enter to finish selecting filesets
-> Go down to Accept license agreement and choose Yes
-> Hit Enter a couple of times to start installation

After a successful installation, smit screen should display the following:
Command: OK stdout: yes stderr: no

Before command completion, additional instructions may appear below.

[TOP]
geninstall -I "a -cgNqwXY -J" -Z -d . -f File 2>&1

File:
I:idsldap.clt32bit631.rte 6.3.1.20
I:idsldap.clt64bit631.rte 6.3.1.20
I:idsldap.license631.rte 6.3.1.20
idsldap.msg631.en_US 6.3.1.20

And 'lslpp' should show the following:
# lslpp -l | grep ldap
idsldap.clt32bit631.rte 6.3.1.20 COMMITTED Directory Server - 32 bit
idsldap.clt64bit631.rte 6.3.1.20 COMMITTED Directory Server - 64 bit
idsldap.cltbase631.adt 6.3.1.20 COMMITTED Directory Server - Base Client
idsldap.cltbase631.rte 6.3.1.20 COMMITTED Directory Server - Base Client
idsldap.license631.rte 6.3.1.20 COMMITTED Directory Server - License
idsldap.msg631.en_US 6.3.1.20 COMMITTED Directory Server - Messages -
idsldap.clt32bit631.rte 6.3.1.20 COMMITTED Directory Server - 32 bit
idsldap.clt64bit631.rte 6.3.1.20 COMMITTED Directory Server - 64 bit
idsldap.cltbase631.rte 6.3.1.20 COMMITTED Directory Server - Base Client



Then run the idslink commands below:
# cd /opt/IBM/ldap/V6.3.1/bin
# ./idslink -i -g -l 64 -f
# ./idslink -i -g -l 32 -f

Now I have the following links in /usr/lib:

lrwxrwxrwx 1 root system 35 Dec 18 11:05 /usr/lib/libibmldap.a -> /opt/IBM/ldap/V6.3.1/lib/libidsldap.a
lrwxrwxrwx 1 root system 37 Dec 18 11:05 /usr/lib/libibmldap64.a -> /opt/IBM/ldap/V6.3.1/lib64/libidsldap.a

[{"Product":{"code":"SSVJJU","label":"IBM Security Directory Server"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"}],"Version":"6.3;6.3.1;6.4","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg22012087