Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ora 12c install error on openSuse: undefined reference to symbol '__tls_get_addr@@GLIBC_2.3'

BG4GRAPHJul 9 2013 — edited Oct 2 2013

Hi everyone,

I know that Oracle does not support OpenSuSE, but all previous database versions worked.

With Oracle 12c, the installation fails. I get the error below.

Probably someone has a helpful idea?

Yours, user8632123.

INFO: make -f /home/oracle/base/rdbms/12.101/precomp/lib/ins_precomp.mk relink EXENAME=proc

INFO: make[1]: Entering directory `/home/oracle/base/rdbms/12.101/precomp/lib'

INFO: Linking /home/oracle/base/rdbms/12.101/precomp/lib/proc

INFO: /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: /home/oracle/base/rdbms/12.101/lib//libnls12.a(lxhlang.o): undefined reference to symbol '__tls_get_addr@@GLIBC_2.3'
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/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

INFO: collect2: error: ld returned 1 exit status

INFO: /bin/chmod: cannot access ‘/home/oracle/base/rdbms/12.101/precomp/lib/proc’
INFO: : No such file or directory

INFO: make[1]: Leaving directory `/home/oracle/base/rdbms/12.101/precomp/lib'

INFO: make[1]: *** [/home/oracle/base/rdbms/12.101/precomp/lib/proc] Error 1

INFO: make: *** [proc] Error 2

This post has been answered by samsonov on Jul 10 2013
Jump to Answer

Comments

samsonov
Answer

I'm using opensuse 12.3 and I has this error too.

My solution is

1) backup {ORACLE_HOME}/lib/stubs and then delete it.

2) change RMAN_LINKLINE in the file  {ORACLE_HOME}/rdbms/lib/env_rdbms.mk

     to

RMAN_LINKLINE=$(LINK) $(OPT) $(S0MAIN) $(SSKRMED) $(SKRMPT) \

        $(LLIBDBTOOLS) $(LLIBCLIENT) $(LLIBSQL) $(LLIBPLSQL) \

        $(LLIBSNLSRTL) $(LLIBUNLSRTL) $(LLIBNLSRTL) \

        $(LLIBSLAX) $(LLIBPLSQL) $(LIBPLCN) $(LINKTTLIBS) -lons

3) relink all.

Marked as Answer by BG4GRAPH · Sep 27 2020
BG4GRAPH

Hi samsonov,

that seems to have worked!

Thanks for your help.

Bernd.

Peter René Menges

Usually this kind of messages just say: The gcc-version the library you are linking to was compiled is different from the one you are using to compile right now,

so downgrading gcc is often an option, if the version of the linked library is static.

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 30 2013
Added on Jul 9 2013
3 comments
15,562 views