[xmlsec] Building problem on Mac OS X (xmlsec1-1.2.12)

Neko akitsukineko at gmail.com
Tue May 1 06:12:39 PDT 2012


Dear Aleksey,
Sorry for sending to the wrong position...

I'm compiling xmlsec1-1.2.12(since any version above this will need
libxml2.7.4) on my Macbook
However, I can't make it work...
It seems that OpenSSL can be recognized during the configuration, however
it doesn't work correctly.

Mac OS X: 10.7.3
OpenSSL: I tried
0.9.8r(brought with Mac OS X)
0.9.8w
1.installed by
sudo ./config
sudo make
sudo make install

2.
sudo ./config --prefix=$HOME no-asm
sudo make
sudo make install

3.
sudo ./config --prefix=/usr/ darwin64-x86_64-cc enable-cms no-asm
sudo make
sudo make install
1.0.1b
1.installed by
sudo ./config
sudo make
sudo make install

2.
sudo ./config --prefix=$HOME no-asm
sudo make
sudo make install
And I did make check on all the OpenSSL version.

xmlsec1-1.2.12
installed by
sudo ./configure
sudo make

configure information about OpenSSL
checking for openssl >= 0.9.8... checking for openssl >= 0.9.7... checking
for openssl >= 0.9.6... checking for openssl libraries >= 0.9.6... rm:
conftest.dSYM: is a directory
yes ('0.9.8')
(whatever which version of OpenSSL installed)
and almost all of the tests are skipped during make check
trying to sign a xml file, I got error message
func=xmlSecCryptoDLLibraryCreate:file=dl.c:line=130:obj=xmlsec_lt_dlopen:subj=unknown:error=7:io
function failed:filename=libxmlsec1-openssl.so
func=xmlSecCryptoDLGetLibraryFunctions:file=dl.c:line=453:obj=unknown:subj=xmlSecCryptoDLLibraryCreate:error=1:xmlsec
library function failed:crypto=openssl
func=xmlSecCryptoDLLoadLibrary:file=dl.c:line=404: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
Usage: xmlsec <command> [<options>] [<files>]
(...)
func=xmlSecCryptoShutdown:file=app.c:line=69:obj=unknown:subj=cryptoShutdown:error=9:feature
is not implemented:
func=xmlSecAppCryptoShutdown:file=crypto.c:line=48:obj=unknown:subj=xmlSecCryptoShutdown:error=1:xmlsec
library function failed:
Error: xmlsec crypto shutdown failed.

I noticed there's "Error: unable to load xmlsec-openssl library.", how
should I fix it?
Any help would be very appreciated.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20120501/d7e15b82/attachment.html>


More information about the xmlsec mailing list