SVN 정상 컴파일 후 문제(apr, apr-util) academic님 도움좀;;
어쩌다 컴파일 하는 방법을 찾아서 SVN을 컴파일 했습니다(서버를 다시 세팅하기 무서워서...;;)
configure 옵션은
./configure --with-zlib --with-apr=/usr/local/apache2/bin/apr-1-config --with-apr-util=/usr/local/apache2/bin/apu-1-config --with-apxs=/usr/local/apache2/bin/apxs --without-berkeley-db
이구요
에러없이 정상적으로 컴파일 됐습니다..
문제는
[root@localhost subversion-1.4.2]# ldd /usr/local/apache2/modules/mod_dav_svn.so | grep apr
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x00d05000)
libexpat.so.0 => /usr/local/apr/lib/libexpat.so.0 (0x001b9000)
libapr-0.so.0 => /usr/local/apr/lib/libapr-0.so.0 (0x003f3000)
[root@localhost subversion-1.4.2]# ldd /usr/local/apache2/bin/httpd | grep apr
libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0 (0x00e98000)
libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0x00bba000)
httpd와 mod_dav_svn.so 의 ldd 결과가 같아야 한다고 외국 문서에 나와있는데요
아무리 옵션을 조절해도 결과는 참담하네요..
혹시 그냥 컴파일 하면 예전과 계속 똑같이 나오나요? configure 옵션에 관계없이?
제가
--with-apr=/usr/local/apache2/bin/apr-1-config 를
--with-apr=/usr/local/apache2 등으로 바꾸고 해봤지만 결과는 똑같구요..
mod_dav_svn.so, mod_authz_svn.so (아파치 모듈 디렉토리 안에있는) 두개 삭제하고
다시 configure 옵션 바꾸고 make make install 하는중인데.. 절대 libaprutil-1.so.0 을 참조 안하네요
방법이 없을까요?
apr은 1.3.3 설치되어있고 apr-util 은 1.3.4 설치 되어있습니다
아파치는 httpd-2.2.11 입니다
아래는 configure 할때 나오는 apr 관련 코드입니다
checking httpd version... recent enough configure: Apache Portable Runtime (APR) library configuration checking for APR... yes checking APR version... 1.3.3 configure: Apache Portable Runtime Utility (APRUTIL) library configuration checking for APR-util... yes checking APR-UTIL version... 1.3.4
댓글 달기