x86_64 용 오라클 설치시 오류 : undefined reference to `dl_iterate_phdr@GLIBC_2.2.4′

다 아실려나 모르겠네요…

otn 사이트에서 발췌 및 어느 사이트 돌아다니다가 관련 내용이 있길래 저장했던건데요.. ㅋㅋ

1. make 파일 /oracle-install-directory/9.2.0/sqlplus/lib/ins_sqlplus.mk 의 install_isqlplus 대상을 호출하는 중 오류 발생

/usr/lib/gcc/x86_64-redhat-linux/3.4.2/libgcc_s_32.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4′

glibc (GNU libc) has a symbol versioning system to ease forward and

backward compatibility between applications and shared libraries

(consumers and suppliers of symbol definitions) in the face of changes

to the specification and/or implementation of library functions.

In this case, libgcc_s.so.1 was linked with a libc.so.6 that defined

the symbol dl_iterate_phdr at version GLIBC_2.2.4. There may be other

versions of dl_iterate_phdr, either in the past or in the future,

but as long as your libc.so.6 exports version GLIBC_2.2.4 then the

libgcc_s.so.1 will get the correct instance of dl_iterate_phdr.

There is no substitute or workaround for having a libc.so.6 that

exports dl_iterate_phdr@GLIBC_2.2.4. The most reliable way to check

is “readelf –symbols /lib/libc.so.6” where ‘readelf’ is in the

binutils package.

]# readelf –symbols /lib64/libc.so.6 | grep dl_iterate_phdr

## 해결 방법이었습니다.(지붕표시 부분을 추가하여 주었습니다.)

]# pwd

/$ORACLE_HOME/product/9.2.0

]# vi lib32/sysliblist

-ldl -lm -lpthread -lnsl -lirc -static-libgcc

                                 ^^^^^^^^^^^^^^

]# vi lib32/ldflags

-lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9  -lnsslb9   -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -static-libgcc

^^^^^^^^^^

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

페이스북/트위트/구글 계정으로 댓글 가능합니다.