Installation Of OID 11.1.1.9 On RHEL7 Fails With linking phase (ins_sqlplus.mk)

APPLIES TO:

Oracle Internet Directory – Version 11.1.1.9.0 to 11.1.1.9.0 [Release 11g]
Oracle Fusion Middleware – Version 11.1.1.9.0 to 11.1.1.9.0 [Release Oracle11g]

Information in this document applies to RHEL 7/OEL 7

ERROR:

While trying to install OID 11.1.1.9 on Red Hat Enterprise Linux (RHEL) 7, it reports following error.

Error Dialog:

Error in invoking target ‘install’ of makefile ‘/opt/Oracle/Middleware/Oracle_IDM1/lib/ins_sqlplus.mk’. See ‘/opt/Oracle/oraInventory/logs/install2016-10-06_12-34-56AM.log’ for details

Log output (install{date and time}.log)

[2016-10-06T12:50:12.673+09:00] [OUI] [NOTIFICATION] [] [OUI] [tid: 196] [ecid: <ECID#>] l11 -lnro11 `cat /opt/Oracle/Middleware/Oracle_IDM1/lib32/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lztkg11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /opt/Oracle/Middleware/Oracle_IDM1/lib32/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /opt/Oracle/Middleware/Oracle_IDM1/lib32/ldflags`    -lncrypt11 -lnsg
[2016-10-06T12:50:12.675+09:00] [OUI] [NOTIFICATION] [] [OUI] [tid: 196] [ecid: 0000LRs0FKxFw000jzwkno1NnCag00000X,0] r11 -lnzjs11 -ln11 -lnl11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11   -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11   `cat /opt/Oracle/Middleware/Oracle_IDM1/lib32/sysliblist` -Wl,-rpath,/opt/Oracle/Middleware/Oracle_IDM1/lib32 -lm -lpt
[2016-10-06T12:50:12.677+09:00] [OUI] [NOTIFICATION] [] [OUI] [tid: 196] [ecid: 0000LRs0FKxFw000jzwkno1NnCag00000X,0] hread   `cat /opt/Oracle/Middleware/Oracle_IDM1/lib32/sysliblist` -ldl -lm -lpthread  -L/opt/Oracle/Middleware/Oracle_IDM1/lib32[[
]]
[2016-09-05T10:40:27.795+09:00] [OUI] [NOTIFICATION] [] [OUI] [tid: 197] [ecid: 0000LRs0FOKFw000jzwkno1NnCag00000Y,0] /bin/ld: No such file: No such file or directory[[
/bin/ld: cannot find crti.o: No such file or directory
/bin/ld: -lclntsh not found
/bin/ld: cannot find /usr/lib/libpthread_nonshared.a
]]

CAUSE:

(failed in processing ins_sqlplus.mk by missing some files (crt1.o, …))
… due to missing a glibc-devel 32bit package.

SOLUTION:

The main point in this case is to install required “glibc” packages to the server before starting installation.

IDM 11.1.1.9 requires these (among others):

glibc-2.17 for x86_64
glibc-2.17 for i686
glibc-devel-2.17 for x86_64
glibc-devel-2.17 for i686

You do need both 32 and 64 bit packages.

You can list the installed packages with architecture (32bit or 64bit) by following command:

rpm -qa –queryformat “%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n”

 

Recent Posts