[xmlsec] Problem compiling on Mac OS X
Dan Timis
timis at museresearch.com
Fri Jun 6 13:51:15 PDT 2003
Hi Aleksey,
I am trying to compile the xmlsec library on Mac OS X. First I had
some trouble with "configure" - it couldn't find libxml2. I had a
create a "bin" directory, put xml2-config in the "bin" directory and
use the "--with-libxml=" option to tell configure where to look for it.
I was finally able to run configure successfully. Now I am getting a
compile error. I already ran "make" a few times, so it is partially
built. This is what I get when I run "make" now:
> make all-recursive
> Making all in include
> Making all in xmlsec
> Making all in openssl
> make[4]: Nothing to be done for `all'.
> make[4]: Nothing to be done for `all-am'.
> make[3]: Nothing to be done for `all-am'.
> Making all in src
> Making all in openssl
> make[3]: Nothing to be done for `all'.
> make[3]: Nothing to be done for `all-am'.
> Making all in apps
> /bin/sh ../libtool --mode=link gcc -g -O2 -DXMLSEC_NO_XSLT=1
> -DXMLSEC_NO_XKMS=1 -o xmlsec1 xmlsec.o crypto.o cmdline.o
> ../src/openssl/libxmlsec1-openssl.la ../src/libxmlsec1.la
> -L/usr/local/lib -lxml2 -lz -lpthread -lm -L/usr/local/ssl/lib > -lcrypto
> gcc -g -O2 -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1 -o .libs/xmlsec1
> xmlsec.o crypto.o cmdline.o -L../src/openssl/.libs -lxmlsec1-openssl
> -L/usr/local/ssl/lib -L/usr/local/lib -L../src/.libs -lxmlsec1 -lxml2
> -lz -lpthread -lm -lcrypto
> ld: Undefined symbols:
> _ASN1_TIME_check
> make[2]: *** [xmlsec1] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
Any idea how to fix this? Is "apps" important?
I modified temporarily the Makefile and I took "apps" out. I ran make
and it did all in man, docs. and api. Then, I ran "make install" and
it installed a bunch of things. I'm not sure how much I am missing
without "apps."
I would appreciate any help.
Thanks,
Dan Timis
Muse Research, Inc.
voice: (650) 326-5400 ext:140
fax: (650) 326-5401
cell: (650) 906-4574
More information about the xmlsec
mailing list