我在带有 OpenSSL 0.9.8w 的 Mac OS X 10.7.3 上安装了 xmlsec 1.2.12,安装后,在“make check”期间测试都被跳过了。
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,但结果是一样的。有人在 Mac OS X 10.7.3 上成功安装了 xmlsec 吗?请给我一些建议。