<div dir="ltr"><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">Hello,</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">I am having problems with Linux, with static configuring.</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">I am using xmlsec in my application windows (32bits) and Linux (32bits) -> without xslt, with openssl 0.9.8g, libxml2 2.6.29 and generating always static libs.</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">use the following definitions preprocessor: -DXMLSEC_CRYPTO_OPENSSL -DXMLSEC_STATIC -DXMLSEC_NO_XSLT</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">using windows with "visual studio 2005 command prompt" generate the libs as follows:</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">1) cscript configure.js prefix=c:\opt include=c:\opt\include lib=c:\opt\lib with-dl=no xslt=no</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">2) changing the cruntime for /MT or /MTd</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">3) worked fine</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">but I am having problems with Linux, with configuring</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">1)./configure --enable-static --disable-shared --enable-shared=no --with-libxslt=no --with-openssl=/usr/local/ssl </font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri"> --enable-crypto-dl=no --enable-apps-crypto-dl=no --enable-static-linking=yes</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">error occurring at the time of the application link:</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">/usr/local/xmlsec1-1.2.11/src/openssl/.libs/libxmlsec1-openssl.a(libxmlsec1_openssl_la-crypto.o)(.text+0x68b): In function `xmlSecOpenSSLInit':</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">/usr/local/xmlsec1-1.2.11/src/openssl/crypto.c:267: undefined reference to `xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms'</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">/usr/local/xmlsec1-1.2.11/src/openssl/.libs/libxmlsec1-openssl.a(libxmlsec1_openssl_la-x509.o)(.text+0x398f): In function `xmlSecOpenSSLKeyDataX509XmlWrite':</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">/usr/local/xmlsec1-1.2.11/src/openssl/x509.c:711: undefined reference to `xmlSecX509DataGetNodeContent'</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">occurs the problem compiling the sign3.c example, with the following command line :</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">bash-2.05# gcc -I/home/ricardo/advtec9/libxml2 -I/usr/local/xmlsec1-1.2.11/include -DXMLSEC_CRYPTO_OPENSSL -DXMLSEC_STATIC -DXMLSEC_NO_XSLT -g -DUNIX_SOCKETS -g sign3.c -L/usr/local/xmlsec1-1.2.11/src/.libs -lxmlsec1 -L/usr/local/xmlsec1-1.2.11/src/openssl/.libs -lxmlsec1-openssl -L/home/ricardo/advtec9/libxml2/linux -lxml2 -L/home/ricardo/advtec9/openssl/linux -lssl -lcrypto -ldl -lstdc++ -o sign3</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">/usr/local/xmlsec1-1.2.11/src/openssl/.libs/libxmlsec1-openssl.a(libxmlsec1_openssl_la-crypto.o)(.text+0x68b): In function `xmlSecOpenSSLInit':</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">/usr/local/xmlsec1-1.2.11/src/openssl/crypto.c:267: undefined reference to `xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms'</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">/usr/local/xmlsec1-1.2.11/src/openssl/.libs/libxmlsec1-openssl.a(libxmlsec1_openssl_la-x509.o)(.text+0x398f): In function `xmlSecOpenSSLKeyDataX509XmlWrite':</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">/usr/local/xmlsec1-1.2.11/src/openssl/x509.c:711: undefined reference to `xmlSecX509DataGetNodeContent'</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">collect2: ld returned 1 exit status</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">Thanks in advanced.</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font size="3"><font face="Calibri">Ricardo</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="mso-ansi-language: EN-US"><font face="Calibri" size="3"> </font></span></p></div>