天天看點

Appach Cannot load mod_dav_svn.so

今天想更新一下SVN版本,結果加載不了mod_dav_svn.so 

軟體版本 

Window 2003 

svn-win32-1.5.4 

Apache2.2 

提示: 

The Apache service named reported the following error: 

官方有句: 

I am trying to use mod_dav_svn with Apache on Win32 and I'm getting an error saying that the module cannot be found, yet the mod_dav_svn.so file is right there in \Apache\modules.

The error message in this case is a little misleading. Most likely Apache is unable to load one or more DLLs that mod_dav_svn.so relies on. If Apache is running as a service it will not have the same PATH as a regular user. Make sure that libdb4*.dll, intl3_svn.dll, libeay32.dll and ssleay32.dll are present in either \Apache\bin or \Apache\modules. You can copy them from your Subversion installation directory if they are not there.

複制過去不盡人意,依然加載不了子產品檔案,後來把SVN/bin目錄下所有DLL全複制過去,問題解決,經過篩選發現有幾個DLL沖突, apache/bin/*.DLL 最終清單: 

[-,需要删除的]: 

[+.從Subs複制過來的] 

[?,未知,可以不要] 

[-]libapr-1.dll 

[-]libapriconv-1.dll 

[-]libaprutil-1.dll 

[+]libdb44.dll 

[+]libsasl.dll 

[+]ssleay32.dll 

[?]intl3_svn.dll

本文轉自 xkdcc 51CTO部落格,原文連結http://blog.51cto.com/brantc/210900,如需轉載請自行聯系原作者