Oracle Client 12.1.0.2 32bit on Linux fails With "ld: final link failed: Bad value" Error

(Doc ID 2246237.1)

Last updated on JULY 13, 2018

Applies to:

Oracle Fusion Middleware - Version 11.1.1.9.0 to 11.1.1.9.0 [Release Oracle11g]
Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
SUSE \ UnitedLinux x86-64
Linux x86-64

Symptoms

Installation of Oracle 12.1.0.2 32bit client software on  fails as seen below

and the following message is reported in the installation log

1) On SLES12 SP2 :

INFO: /tools/oracle/product/oraclient/bin/genclntsh
INFO: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: /tools/oracle/product/oraclient/lib/libnls12.a(lxecg2e.o): direct GOT relocation R_386_GOT32 against 'lxecerr' without base register can not be used when making a shared object/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value
INFO: collect2: error: ld returned 1 exit status
INFO: genclntsh: Failed to link libclntshcore.so.12.1
INFO: make: *** [client_sharedlib] Error 1

 

2) On RHEL7:

INFO: /u01/app/oracle/product/12.1_client/bin/genclntsh
INFO: /bin/ld: /u01/app/oracle/product/12.1_client/lib/libnls12.a(lxecg2e.o): direct GOT relocation R_386_GOT32 against `lxecerr' without base register can not be used when making a shared object
/bin/ld: final link failed: Bad value
INFO: collect2: error: ld returned 1 exit status
INFO: genclntsh: Failed to link libclntshcore.so.12.1
INFO: make: *** [client_sharedlib] Error 1

3) On OL7

INFO: /oracle/app/oracle12/product/12.2Client32/bin/genclntsh
INFO: /bin/ld: /oracle/app/oracle12/product/12.2Client32/lib/libipp_z.a(deflate.o): direct GOT relocation R_386_GOT32 against `ipp_zcalloc' without base register can not be used when making a shared object  
/bin/ld: final link failed: Bad value
INFO: collect2: error: ld returned 1 exit status
INFO: genclntsh: Failed to link libclntsh.so.12.1
INFO: make: *** [client_sharedlib] Error 1

Changes

 

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