error while loading shared libraries 해결방법

Linux 64bit 5.x 버전에 oracle 10g 설치후

vipca 나 srvctl 실행시

/oracle/base/product/10g/db/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory


에러 발생


$ vi ORA_CRS_HOME/bin/vipca


# if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
# then
#   LD_ASSUME_KERNEL=2.4.19
#   export LD_ASSUME_KERNEL
# fi


해당 부분 주석처리



$ vi $ORA_CRS_HOME/bin/srvctl



# LD_ASSUME_KERNEL=2.4.19
# export LD_ASSUME_KERNEL



$ vi /$ORACLE_HOME/bin/srvctl


# LD_ASSUME_KERNEL=2.4.19
# export LD_ASSUME_KERNEL


해당부분 주석처리

티스토리 툴바