My Oracle Support Banner

Oracle Client 12c 32bit on Linux fails With "ld: final link failed: Bad value" Error (Doc ID 2246237.1)

Last updated on AUGUST 20, 2018

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
SUSE \ UnitedLinux x86-64
Linux x86-64

Symptoms

Installation of Oracle 12c 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

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.