安裝xmlsec我在Mac OS X 10.7.3安裝xmlsec 1.2.12與OpenSSL的0.9.8w,並在安裝完成後,測試是在「做檢查」的所有跳過。如何使用OpenSSL的在Mac OS X
OpenSSL的0.9.8w安裝由
sudo ./config --prefix=/usr/local/ no-asm
sudo make install
xmlsec 1.2.12通過
sudo ./configure --with-openssl=/usr/local/
sudo make install
而且我得到了錯誤信息,同時試圖簽署XML
func=xmlSecCryptoDLLibraryCreate:file=dl.c:line=146:obj=lt_dlopenext:subj=unknown:error=7:io function failed:filename=libxmlsec1-openssl
func=xmlSecCryptoDLGetLibraryFunctions:file=dl.c:line=498:obj=unknown:subj=xmlSecCryptoDLLibraryCreate:error=1:xmlsec library function failed:crypto=openssl
func=xmlSecCryptoDLLoadLibrary:file=dl.c:line=449:obj=unknown:subj=xmlSecCryptoDLGetLibraryFunctions:error=1:xmlsec library function failed:
Error: unable to load xmlsec-openssl library. Make sure that you have this it installed, check shared libraries path (LD_LIBRARY_PATH) envornment variable or use "--crypto" option to specify different crypto engine.
Error: initialization failed
我也試圖xmlsec 1.2.18和OpenSSL 1.0.1B,但事實證明是相同的。 有沒有人成功安裝xmlsec在Mac OS X 10.7.3? 請給我一些建議。