[xmlsec] Building xmlsec on Snow Leopard (OS X 10.6.1)
roland.hedberg at adm.umu.se
Tue Oct 6 08:04:34 PDT 2009
On Oct 6, 2009, at 16:43, Roland Hedberg wrote:
> 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
> 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:
> =dl.c:line=130:obj=xmlsec_lt_dlopen:subj=unknown:error=7:io function
> library function failed:crypto=openssl
> 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 :-)
More information about the xmlsec