: 마피아쓰고요... 생 초보인데 kldp에서 마피아 연동해서 설치하는 법을 보
: 고 설치해서 문제 없이 설치는 됐는데요... cgi가 안 먹습니다.
:
: 게시판 같은 데를 뒤져서 httpd.conf 파일에
:
: AddHandler cgi-script .cgi
: ...
: AddType application/x-httpd-cgi .cgi
: AddType application/x-httpd-cgi .pl
: ...
: 같은것도 쓰고 기타 Options들에도 ExecCGI 다 줬습니다.
:
: 근데도 cgi를 클릭하면
:
: Internal Server Error
: The server encountered an internal error or misconfiguration and was
: unable to complete your request.
: Please contact the server administrator, a@b.c and inform them of the
: time the error occurred, and anything you might have done that may
: have caused the error.
:
: More information about this error may be available in the server error
: log.
:
: 가 나거나 test.cgi같은건 그냥 텍스트로 내용이 보입니다.
:
: logs/error_log 에는
:
: **.cgi: error in loading shared libraries: libstdc++-libc6.1-1.so.2:
: cannot open shared object file: No such file or
: directory
:
: 라고 쓰여 있고요, 텍스트로 내용이 보인건 안 표시돼 있습니다.
:
: 데비안 2.2 쓰고요.. dselect에서 찾아 봤지만 libstdc++은 이미 깔려있
: 고, libc6.1-1.so.2 는 안 보이더군요..
:
: 고수님들의 조언 부탁드립니다.
:
: --
: 이 곳에 서명을 적어주십시오.
:
: 서명
CGI가 실행이 안된게 아니라 실행중 에러가 난겁니다.
**.cgi: error in loading shared libraries: libstdc++-libc6.1-1.so.2:
: cannot open shared object file: No such file or
: directory
이 에러 메시지는 그 CGI 프로그램이 libstdc++-libc6.1-1.so.2 동적모듈이
필요한데 로딩을 못해서 에러가 난겁니다. 위 파일을 찾아 그곳의 패스를
/etc/ld.so.conf 파일에 추가한후 ldconfig 명령을 실행하시면 위 에러
문제는 해결할 수 있습니다.--.............................................. @(. .)@
아이~졸려 : ) 항상 졸린 seeker =으=
..............................................