[xmlsec] Building xmlsec on Snow Leopard (OS X 10.6.1)

Roland Hedberg roland.hedberg at adm.umu.se
Tue Oct 6 07:43:39 PDT 2009


Hi!

In order to build xmlsec on 10.6.1 you have to add:

CC='gcc -arch i386' to configure

Otherwise you will just get complains about 'file is not of required  
architecture'
for a set of files.

With the above mentioned addition to configure the make goes through.

But I still have a problem. Trying to run xmlsec1 I get:

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.

Which is not surprising since libxmlsec1-openssl.so is no where to be  
found.
Why isn't it built ?
To my knowledge (which is very limited) shared libs os macosx has the  
extension .dylib and not .so .
Is that the problem ?

--Roland



More information about the xmlsec mailing list