<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi All,<div><br></div><div>is there any progress on this issue?</div><div><br></div><div>I have found maybe something interesting, but I have to idea how to correct it.</div><div><br></div><div>First of all I am using version 1.2.12 because there is no libXml2 version 2.7.4 on the iPad, there is only version 2.7.3. There is no possibility to upgrade iPad and if I will try to compile my own libXml than Apple will refuse my app from App Store. </div><div><br></div><div>So what I have found is:</div><div><br></div><div><div><b>There is libxmlsec1-openssl.a created by this command:</b></div><div>rm -fr  .libs/libxmlsec1-openssl.a .libs/libxmlsec1-openssl.la .libs/libxmlsec1-openssl.lai</div><div>ar cru .libs/libxmlsec1-openssl.a <path>/XMLSec-iOS/../OpenSSL-iOS/bin/iPhoneSimulator5.0.sdk//lib/libcrypto.a  libxmlsec1_openssl_la-app.o libxmlsec1_openssl_la-bn.o libxmlsec1_openssl_la-ciphers.o libxmlsec1_openssl_la-crypto.o libxmlsec1_openssl_la-digests.o libxmlsec1_openssl_la-evp.o libxmlsec1_openssl_la-hmac.o libxmlsec1_openssl_la-kw_aes.o libxmlsec1_openssl_la-kw_des.o libxmlsec1_openssl_la-kt_rsa.o libxmlsec1_openssl_la-signatures.o libxmlsec1_openssl_la-symkeys.o libxmlsec1_openssl_la-x509.o libxmlsec1_openssl_la-x509vfy.o <path>/XMLSec-iOS/../OpenSSL-iOS/bin/iPhoneSimulator5.0.sdk//lib/libcrypto.a</div><div>ranlib .libs/libxmlsec1-openssl.a</div><div><br></div><div><b>Than follows this link error about ignoring libxmlsec1-openssl.a:</b></div><div>/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386 -g -O2 -o xmlsec1 xmlsec.o crypto.o cmdline.o  ../src/openssl/.libs/libxmlsec1-openssl.a <path>/XMLSec-iOS/src/xmlsec1-1.2.12/src/.libs/libxmlsec1.a ../src/.libs/libxmlsec1.a <path>/XMLSec-iOS/../OpenSSL-iOS/bin/iPhoneSimulator5.0.sdk//lib/libcrypto.a -ldl -lxslt -lxml2 -lz -lpthread -licucore -lm</div><div>ld: warning: ignoring file ../src/openssl/.libs/libxmlsec1-openssl.a, file was built for archive which is not the architecture being linked (i386)</div><div>Undefined symbols for architecture i386:</div><div>  "_xmlSecOpenSSLTransformDes3CbcGetKlass", referenced from:</div><div>      _main in xmlsec.o</div><div><br></div><div>     </div><div><b>But if I skip "a" file and replace it directly with "o" files. Than everything is working correctly:</b></div><div>/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386 -g -O2 -o xmlsec1 xmlsec.o crypto.o cmdline.o <path>/XMLSec-iOS/src/xmlsec1-1.2.12/src/.libs/libxmlsec1.a ../src/.libs/libxmlsec1.a <path>/XMLSec-iOS/../OpenSSL-iOS/bin/iPhoneSimulator5.0.sdk//lib/libcrypto.a ../src/openssl/libxmlsec1_openssl_la-app.o ../src/openssl/libxmlsec1_openssl_la-bn.o ../src/openssl/libxmlsec1_openssl_la-ciphers.o ../src/openssl/libxmlsec1_openssl_la-crypto.o ../src/openssl/libxmlsec1_openssl_la-digests.o ../src/openssl/libxmlsec1_openssl_la-evp.o ../src/openssl/libxmlsec1_openssl_la-hmac.o ../src/openssl/libxmlsec1_openssl_la-kw_aes.o ../src/openssl/libxmlsec1_openssl_la-kw_des.o ../src/openssl/libxmlsec1_openssl_la-kt_rsa.o ../src/openssl/libxmlsec1_openssl_la-signatures.o ../src/openssl/libxmlsec1_openssl_la-symkeys.o ../src/openssl/libxmlsec1_openssl_la-x509.o ../src/openssl/libxmlsec1_openssl_la-x509vfy.o -ldl -lxslt -lxml2 -lz -lpthread -licucore -lm</div><div><br></div><div><b>That means there is something wrong with "ar" and "ranlib" commands.</b></div><div>Can anybody help me?</div><div><br></div><div>Here is how xmlenc.o is compiled. It is part of libxmlsec1.a, which is not causing error.</div><div>/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386 -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE=\"xmlsec1\" -I../include -I../include -D__XMLS</div><div>EC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -I/usr/include/libxml2 -l/usr/include/libxml2 -g -O2 -MT xmlenc.lo -MD -MP -MF .deps/xmlenc.Tpo -c xmlenc.c -o xmlenc.o</div><div><br></div><div>Here is how libxmlsec1_openssl_la-symkeys.o is compiled. It is part of libxmlsec1-openssl.a, which is causing error.</div><div>/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386 -DHAVE_CONFIG_H -I. -I. -I../.. -DPACKAGE=\"xmlsec1\" -I../../include -I../../include</div><div> -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -I<path>/XMLSec-iOS/../OpenSSL-iOS/bin/iPhoneSimulator5.0.sdk//include -DXMLSEC_OPENSSL_098=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -g -O2 -MT libxmlsec1_openssl_la-symkeys.lo -MD -MP -MF .deps/libxmlsec1_openssl_la-symkeys.Tpo -c symkeys.c -o libxmlsec1_openssl_la-symkeys.o</div></div><div><br></div><div>Thanks a lot in advance</div><div>Dusan</div><div><br></div><div><br></div><div><br></div></body></html>