질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

리눅스에서 tmax 설치하는 bin 실행시 나는 에러입니다. 이유가 무언인가요?

작성자 정보

  • 그럴지도모르지 작성
  • 작성일

컨텐츠 정보

본문

Configuring the installer for this system's environment...
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/usr/local/j2sdk1.4.2_16/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

관련자료

댓글 1

리온님의 댓글

  • 리온
  • 작성일
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

grep 을 실행하던중 libc.so.6 shared 라이브러리가 존재하지 않습니다.

/usr/local/j2sdk1.4.2_16/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

java 를 실행하던중 libpthread.so.0 shared 라이브러리가 존재하지 않습니다.

ldconfig -v | grep libc
ldconfig -v | grep libpthread

해당 라이브러리와 버전이 존재하지 않기에 발생되는 문제이거나
해당 명령어 실행시 LD_LIBRARY_PATH 를 빌드과정에서 지정한 대로
참조를 하기에 발생하는 문제 인것 같습니다.

만약 위에서 라이브러리가 ldconfig 명령으로 발견되었다면
export LD_LIBRARY_PATH=/path/to/libc/directory/libc.so.6:/path/to/libc/directory/libpthread.so.0
하신 후 실행해보시기 바랍니다.

위 라이브러리는 리눅스 시스템의 거의 대부분의 소프트웨어들이 사용하는
매우 중요한 라이브러리이니만큼 존재하지 않을리가 없습니다.
보통은 /lib 또는 /lib64 , /usr/lib 디렉토리 밑에 존재할 것 입니다.

다른 오류 메시지도 아마 모두 비슷하거나 같은 경로에 존재하고 있을겁니다.
만약 저렇게 한 뒤 실행이 되면
/etc/ld.so.conf.d/ 경로에 다음과 같은 파일을 생성합니다.


vi tmax.conf

/path/to/specific/library/directory/
.......

경로는 필요한대로 추가하시면 될 것 같습니다.
입력을 마치고 저장한 뒤

# ldconfig

를 실행하고 다시 명령을 실행해보면 정상적으로 동작할 것 같습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,032 명
  • 현재 강좌수 :  35,773 개
  • 현재 접속자 :  251 명