Install Oracle 12.1.0.1++ on Fedora 17 – 20


Changes in 12.1.0.1 future releases

gumpx

I’m using Fedora 19 on my notebook and tried to install oracle 12.1.0.1 for evaluation purposes. As I tried, I’vh got an error during “Link binaries” step. Maybe the following steps are working on other operating systems too.

NOTICE: I’vh tested this workaround on Fedora 20 also -> Success.

Here the error:

  • Error in invoking target ‘links proc gen_pcscfg procob’ of makefile ‘<ORACLE_HOME>/precomp/lib/ins_precomp.mk
  • INFO: /usr/bin/ld: <ORACLE_HOME>/lib//libnls12.a(lxhlang.o): undefined reference to symbol ‘__tls_get_addr@@GLIBC_2.3’
    /usr/bin/ld: note: ‘__tls_get_addr@@GLIBC_2.3’ is defined in DSO /lib64/ld-linux-x86-64.so.2 so try adding it to the linker command line
    /lib64/ld-linux-x86-64.so.2: could not read symbols: Invalid operation

fedora_error

The problem are the link dependencies. To solve this issue:

1. Goto <ORACLE_HOME>/lib/stubs/ backup and delete this folder. Here an example:

[bash]$ rm -rf /opt/oracle/app/product/12.1.0/dbhome_3/lib/stubs/

2. Backup and then edit <ORACLE_HOME>/rdbms/lib/env_rdbms.mk:

2.1 Search for “LINKTTLIBS” and change the line from

   176 LINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS)

to

   176 LINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS) -lons

2.2 Now search for “LINK=”

View original post 384 more words