<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for update! I'll modify the configure script with your patch.<br>
<br>
Aleksey<br>
<br>
<br>
On 2/16/11 7:20 AM, Floodeenjr, Thomas wrote:
<blockquote
cite="mid:8A3546380946154D8A961710506ED78004A929EA@na2-mail.mgc.mentorg.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">It
looks like I need to ask the
question to answer it myself. Here is the solution:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">if [
"${PLATFORM}" =
"SunOS" ]; then<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
CFLAGS="${CFLAGS}
-I${XMLSEC_DIR}/include"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
export
CPPFLAGS="-I${XMLSEC_DIR}/include"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
export
LDFLAGS="-L${XMLSEC_DIR}/lib"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">fi<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Evidently
the variables are n to
passed to the preprocessor, unless “exported”.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">-Tom<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thomas
Floodeen, Jr.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Mentor
Graphics BSD<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">720.494.1133<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif";">From:</span></b><span
style="font-size: 10pt; font-family:
"Tahoma","sans-serif";"> Floodeenjr,
Thomas <br>
<b>Sent:</b> Wednesday, February 16, 2011 8:13 AM<br>
<b>To:</b> '<a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>'<br>
<b>Subject:</b> ltdl problem on Solaris<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am having problems getting xmlsec
configure to recognize
that libtdl is installed<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">checking for xmlsec-crypto dynamic loading
support...
checking ltdl.h usability... yes<o:p></o:p></p>
<p class="MsoNormal">checking ltdl.h presence... no<o:p></o:p></p>
<p class="MsoNormal">configure: WARNING: ltdl.h: accepted by the
compiler,
rejected by the preprocessor!<o:p></o:p></p>
<p class="MsoNormal">configure: WARNING: ltdl.h: proceeding with
the compiler's
result<o:p></o:p></p>
<p class="MsoNormal">checking for ltdl.h... yes<o:p></o:p></p>
<p class="MsoNormal">checking for lt_dlopenext in -lltdl... no<o:p></o:p></p>
<p class="MsoNormal">configure: error: libltdl is required for
xmlsec-crypto
dynamic loading<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have built and installed libtdl, but
xmlsec claims it does
not have the correct symbols, when I believe it does.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">if [ "${PLATFORM}" = "SunOS" ]; then<o:p></o:p></p>
<p class="MsoNormal"> CFLAGS="${CFLAGS}
-I${XMLSEC_DIR}/include"<o:p></o:p></p>
<p class="MsoNormal"> LDFLAGS="-L${XMLSEC_DIR}/lib"<o:p></o:p></p>
<p class="MsoNormal">fi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I noticed in config.log that the CFLAGS are
correct, but the
LDFLAGS do not appear.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What am I doing wrong?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">-Tom<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thomas Floodeen, Jr.<o:p></o:p></p>
<p class="MsoNormal">Mentor Graphics BSD<o:p></o:p></p>
<p class="MsoNormal">720.494.1133<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
xmlsec mailing list
<a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>
<a class="moz-txt-link-freetext" href="http://www.aleksey.com/mailman/listinfo/xmlsec">http://www.aleksey.com/mailman/listinfo/xmlsec</a>
</pre>
</blockquote>
</body>
</html>