"/usr/bin/ld: cannot find -lxml11" When Installing FMW 11g on Linux 64-bit (Doc ID 1305722.1)

Last updated on MAY 02, 2016

Applies to:

Oracle Fusion Middleware - Version 11.1.1.2.0 to 11.1.1.5.0 [Release Oracle11g]
Linux x86-64

Symptoms

When installing Oracle Fusion Middleware 11.1.1.X on Linux 64-bit, the installation fails with the following errors:

[OUI] [NOTIFICATION] [] [OUI] [tid: 24] /usr/bin/ld: skipping incompatible $MW_HOME/as_1/lib/libxml11.a when searching for -lxml11[[
/usr/bin/ld: cannot find -lxml11
collect2: ld returned 1 exit status ]]
[OUI] [NOTIFICATION] [] [OUI] [tid: 24] genclntsh: Failed to link libclntsh.so.11.1[[
make: *** [client_sharedlib] Error 1 ]]
[OUI] [NOTIFICATION] [] [OUI] [tid: 20] Exception thrown from action: make[[
Exception Name: MakefileException
Exception String: Error in invoking target 'client_sharedlib' of makefile '$MW_HOME/as_1/rdbms/lib/ins_rdbms.mk'. See '/local/oracle/oraInventory/logs/install2011-03-07_09-30-10AM.log' for details.
Exception Severity: 1 ]]
...
[OUI] [NOTIFICATION] [] [OUI] [tid: 20] Calling Action unixActions10.2.0.2.0 make[[
installMakePath = /usr/bin/make
installMakeFileName = $MW_HOME/as_1/precomp/lib/ins_precomp.mk
installTarget = relink
installArguments = ORACLE_HOME=$MW_HOME/as_1,EXENAME=proc
undoMakeFileName = null
undoTarget = null
undoArguments = null
logFile = $MW_HOME/as_1/install/make.log
progMsg = Linking proc ]]
...
[OUI] [NOTIFICATION] [] [OUI] [tid: 27] usr/bin/ld: skipping incompatible $MW_HOME/as_1/lib//libpls11.a when searching for -lpls11[[
/usr/bin/ld: skipping incompatible $MW_HOME/as_1/lib/libpls11.a when searching for -lpls11
/usr/bin/ld: skipping incompatible $MW_HOME/as_1/lib/libpls11.a when searching for -lpls11
/usr/bin/ld: cannot find -lpls11
collect2: ld returned 1 exit status ]]
...
[OUI] [NOTIFICATION] [] [OUI] [tid: 27] cannot access `$MW_HOME/as_1/precomp/lib/proc': No such file or directory[[]]
[OUI] [NOTIFICATION] [] [OUI] [tid: 27] make: *** [$MW_HOME/as_1/precomp/lib/proc] Error 1[[]]
...
[OUI] [NOTIFICATION] [] [OUI] [tid: 20] Exception thrown from action: make[[
Exception Name: MakefileException
Exception String: Error in invoking target 'relink' of makefile '$MW_HOME/as_1/precomp/lib/ins_precomp.mk'. See '/local/oracle/oraInventory/logs/install2011-03-07_09-30-10AM.log' for details.
Exception Severity: 1 ]]
...
[OUI] [NOTIFICATION] [] [OUI] [tid: 30] usr/bin/ld: cannot find -lclntsh[[
collect2: ld returned 1 exit status
make: *** [tnsping] Error 1 ]]
...
[OUI] [NOTIFICATION] [] [OUI] [tid: 20] Exception thrown from action: make[[
Exception Name: MakefileException
Exception String: Error in invoking target 'itnsping' of makefile '$MW_HOME/as_1/network/lib/ins_net_client.mk'. See '/local/oracle/oraInventory/logs/install2011-03-07_09-30-10AM.log' for details.
Exception Severity: 1
]]
...
[OUI] [NOTIFICATION] [] [OUI] [tid: 20] Calling Action unixActions10.2.0.2.0 make[[
registerOnly = false
installMakePath = /usr/bin/make
installMakeFileName = $MW_HOME/as_1/rdbms/lib/ins_rdbms.mk
installTarget = client_sharedlib svr_tool
undoMakeFileName =
installArguments = ORACLE_HOME=$MW_HOME/as_1
logFile = $MW_HOME/as_1/install/make.log
undoTarget =
progMsg = Building Client Shared Libraries ]]
...
[OUI] [NOTIFICATION] [] [OUI] [tid: 32] usr/bin/ld: skipping incompatible $MW_HOME/as_1/lib/libxml11.a when searching for -lxml11[[
/usr/bin/ld: cannot find -lxml11
collect2: ld returned 1 exit status ]]
[OUI] [NOTIFICATION] [] [OUI] [tid: 32] genclntsh: Failed to link libclntsh.so.11.1[[]]
[OUI] [NOTIFICATION] [] [OUI] [tid: 32] make: *** [client_sharedlib] Error 1[[
]]


This issue was reported also when using "Install Software - Do Not Configure" option.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms