https://dev.entrouvert.org/
https://dev.entrouvert.org/favicon.ico?1586192034
2014-06-27T13:56:02Z
Redmine Entr’ouvert
Lasso - Bug #5062: Error bulid on CentOS release 6.5 (Final)
https://dev.entrouvert.org/issues/5062?journal_id=17526
2014-06-27T13:56:02Z
Timour Ezizov
tesystems@gmail.com
<ul><li><strong>Fichier</strong> <a href="/attachments/4325">lasso_64_build_error.txt</a> <a class="icon-only icon-download" title="Télécharger" href="/attachments/download/4325/lasso_64_build_error.txt">lasso_64_build_error.txt</a> ajouté</li></ul><p>In CentOS 6 64 bit same situation<br />Log attached.</p>
Lasso - Bug #5062: Error bulid on CentOS release 6.5 (Final)
https://dev.entrouvert.org/issues/5062?journal_id=17587
2014-06-30T11:52:07Z
Timour Ezizov
tesystems@gmail.com
<ul></ul><p>Changing lasso.c file line 178<br />- if (xmlSecCryptoDLLoadLibrary(BAD_CAST XMLSEC_CRYPTO)<br />+ if (xmlSecCryptoDLLoadLibrary(BAD_CAST "openssl")</p>
<p>did the trick, but...</p>
Lasso - Bug #5062: Error bulid on CentOS release 6.5 (Final)
https://dev.entrouvert.org/issues/5062?journal_id=17588
2014-06-30T12:16:44Z
Frédéric Péters
fpeters@entrouvert.com
<ul></ul><p>It looks like mssing quotes in the xmlsec1-openssl.pc file, could you check?</p>
<pre>
$ pkg-config --cflags xmlsec1-openssl
-DXMLSEC_CRYPTO=\"openssl\" -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_OPENSSL_098=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1
</pre>
Lasso - Bug #5062: Error bulid on CentOS release 6.5 (Final)
https://dev.entrouvert.org/issues/5062?journal_id=17599
2014-06-30T18:30:43Z
Timour Ezizov
tesystems@gmail.com
<ul></ul><p>So,<br />if I run:<br /><pre>
pkg-config --cflags xmlsec1-openssl
-DXMLSEC_CRYPTO="openssl" -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_DL_LIBLTDL=1 -DXMLSEC_OPENSSL_100=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/xmlsec1 -I/usr/include/libxml2
</pre></p>
<p>but file self is:<br /><pre>
cat /usr/lib/pkgconfig/xmlsec1-openssl.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include
Name: xmlsec1-openssl
Version: 1.2.19
Description: XML Security Library implements XML Signature and XML Encryption standards
Requires: libxml-2.0 >= 2.7.4 libxslt >= 1.0.20
Cflags: -DXMLSEC_CRYPTO=\"openssl\" -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_DL_LIBLTDL=1 -I/usr/include/xmlsec1 -DXMLSEC_OPENSSL_100=1 -DXMLSEC_CRYPTO_OPENSSL=1
Libs: -L/usr/lib -lxmlsec1-openssl -lxmlsec1 -lltdl -lssl -lcrypto
</pre></p>
<p>also I found bug <a class="external" href="http://www.freebsd.org/cgi/query-pr.cgi?pr=152070">http://www.freebsd.org/cgi/query-pr.cgi?pr=152070</a> related to LASSO</p>
<p>and if I revert xmlsec1-openssl.pc file to (triple backslash \\\) then I have correct output</p>
<pre>
pkg-config --cflags xmlsec1-openssl
-DXMLSEC_CRYPTO=\"openssl\" -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_DL_LIBLTDL=1 -DXMLSEC_OPENSSL_100=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/xmlsec1 -I/usr/include/libxml2
</pre>
<p>and can't build</p>
<p>Errors like this:<br /><pre>
ake[5]: Entering directory `/home/tez/dev/lasso-2.4.0/lasso/xml/saml-2.0'
CC saml2_action.lo
<command-line>: warning: "XMLSEC_CRYPTO" redefined
<command-line>: warning: this is the location of the previous definition
CC saml2_advice.lo
<command-line>: warning: "XMLSEC_CRYPTO" redefined
<command-line>: warning: this is the location of the previous definition
CC saml2_assertion.lo
</pre></p>
Lasso - Bug #5062: Error bulid on CentOS release 6.5 (Final)
https://dev.entrouvert.org/issues/5062?journal_id=25162
2015-03-06T14:58:57Z
Benjamin Dauvergne
<ul><li><strong>Priorité</strong> changé de <i>Haut</i> à <i>Bas</i></li></ul>
Lasso - Bug #5062: Error bulid on CentOS release 6.5 (Final)
https://dev.entrouvert.org/issues/5062?journal_id=32486
2015-09-03T14:47:29Z
Benjamin Dauvergne
<ul><li><strong>Version cible</strong> mis à <i>future</i></li></ul>
Lasso - Bug #5062: Error bulid on CentOS release 6.5 (Final)
https://dev.entrouvert.org/issues/5062?journal_id=32511
2015-09-03T14:59:45Z
Benjamin Dauvergne
<ul><li><strong>Statut</strong> changé de <i>Nouveau</i> à <i>Fermé</i></li></ul><p>Bug was in the .pc file.</p>