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

Aleksey Sanin aleksey at aleksey.com
Tue Oct 6 08:58:31 PDT 2009


Could you please try to re-run autoconf/automake manually?

Thanks,
Aleksey

Roland Hedberg wrote:
> 
> On Oct 6, 2009, at 16:43, Roland Hedberg wrote:
> 
>> 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 ?
> 
> Seemed to be.
> In the file config.h LTDL_SHLIB_EXT is defined to be '.so' which it 
> shouldn't be on a macosx system.
> Changing this to define it to be '.dylib' makes a big difference to the 
> better :-)
> 
> --Roland
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec


More information about the xmlsec mailing list