問題描述:配置Apache2.2與SVN 1.6.5時Apache啟動報cannot load mod_dav_svn.so
上網查找資料,首先從這裡知道是缺少了dll庫檔案
按照部落格上所說将SVN的bin目錄下libdb44.dll,libeay32.dll,ssleay32.dll三個檔案拷貝到Apache的bin目錄下
啟動失敗....
找了一圈沒結果後去了Subversion的官方FAQ,faq要求我拷貝
libdb4*.dll, intl3_svn.dll, libeay32.dll and ssleay32.dll,拷貝後依然無效
這時看到了faq的最後一句話:
If this still does not resolve the problem, you should use a tool like Dependency Walker on mod_dav_svn.so to see if there are any other unresolved dependencies。
跑去下載下傳了Dependency Walker 打開mod_dav_svn.so檢視它需要的dll檔案
看了一下需要的是
libapr-1.dll
libaprutil-1.dll
libsvn_delta-1.dll
libsvn_fs-1.dll
libsvn_repos-1.dll
libsvn_subr-1.dll
按照要求拷貝後Apache順利啟動,問題解決