[xmlsec] Building problem on Mac OS X (xmlsec1-1.2.12)
Aleksey Sanin
aleksey at aleksey.com
Tue May 1 06:40:49 PDT 2012
I'll start from following the instructions
> 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.
Aleksey
On 5/1/12 6:12 AM, Neko wrote:
> 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
>
>
>
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
More information about the xmlsec
mailing list