아파치 업글후 에러가 나네요....
글쓴이: kjd2338 / 작성시간: 토, 2005/12/10 - 1:48오후
아파치를 간만에 1.3.34로 업글했습니다....
DSO방식으로 설치했는데, 이상하게 업글이후로는 mod_rewrite를 실행할때 /usr/local/apache/libexec/mod_rewrite.so: undefined symbol: dbm_fetch
라는 요상한 에러가 뜨고 마네요....
구글링을 해본 결과 외국 사이트에 해결책이라고 있는데...
해석은 되나.. 방법을 모르겠네요....
Technical Notes: Undefined symbol 'dbm_fetch' with the Apache server I tried to include in my Apache Web server's configuration the mod_rewrite module, but when I restarted the server, I received an error: Cannot load /usr/local/apache/libexec/mod_rewrite.so into server: /usr/local/apache/libexec/mod_rewrite.so: undefined symbol: dbm_fetch The problem, as it turns out, is that mod_rewrite.so is compiled incorrectly. It should be linked with a dbm library but it isn't. If you have an up-to-date set of Apache source files, you can easily solve this problem by manually rerunning the last compilation step of this module, using the correct options. When you execute make mod_rewrite.so in the appropriate directory, it performs this final step: gcc -shared -o mod_rewrite.so mod_rewrite.lo Rerun gcc, this time adding a reference to the GNU gdbm library: gcc -shared -o mod_rewrite.so mod_rewrite.lo -lgdbm Next, copy the newly created mod_rewrite.so over to /usr/local/apache/libexec or wherever your Apache module files are located. In my case, this was all that was needed to solve the problem. Your mileage may vary.
어찌해야 하나요...
(일단은 mod_rewrite를 해제해 두었습니다...ㅡㅡ;;)
Forums:
컴파일 할 때...
컴파일 하실 때 그런 모듈들도 모두 다 컴파일 되도록 해 놓으 시고 처음부터 그것들이 재컴파일 된거라면 상관 없겠지만 업데이트 하실 때 그 모듈들이 정상적으로 업데이트 된게 아니라면 버전이나 라이브러리 들과의 연결 도중 문제가 발생 할 수 있습니다. (누구나 아는 사실인것 같군요. 괸히 적었나요? 죄송합니다.) 아마도 그런 문제가 아닐 까요... 아니면 컴파일이나 configure에서 부터 뭔가 문제가 있었을 지도 모르겠습니다. (제 생각 입니다.)
아무튼...
그럼..
이여송 사도요한 드림.
사람천사
혹시 몰라서 configure를 새로 하면서 rewrite를 넣었더니..
혹시 몰라서 configure를 새로 하면서 rewrite를 넣었더니...
너무도 잘 되네요....
다른 분들도 참고하시길.... orz :oops:
인생은 삽질에서 시작해서, 삽질로 끝난다...
댓글 달기