<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content=1 name=qrichtext>
<STYLE type=text/css>
p, li { white-space: pre-wrap; }
</STYLE>

<META content="MSHTML 6.00.6000.17114" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hi Antonio,</DIV>
<DIV> </DIV>
<DIV>Thanks for having a look.</DIV>
<DIV> </DIV>
<DIV>OS: Centos 5.8 (Final)</DIV>
<DIV>libtool: ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)</DIV>
<DIV> </DIV>
<DIV>I've attached a tar of the config.log, c.txt and m.txt.</DIV>
<DIV>Where can I find the generated libtool script?</DIV>
<DIV> </DIV>
<DIV>regards,</DIV>
<DIV>Mogesh.</DIV>
<DIV><BR>>>> Antonio J. Peña<apenya@mcs.anl.gov> 05/11/2013 20:44 >>><BR></DIV>
<P style="MARGIN: 0px; TEXT-INDENT: 0px; -qt-paragraph-type: empty; -qt-block-indent: 0"> </P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">Hi Mogesh,</P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px; -qt-paragraph-type: empty; -qt-block-indent: 0"> </P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">We'll need some more information to be able to help you. What's your OS? Libtool version? Please also attach config.log and your complete c.txt. Your generated libtool script is going to be useful as well. I wonder why your libtool looks for that file at all.</P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px; -qt-paragraph-type: empty; -qt-block-indent: 0"> </P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">Antonio</P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px; -qt-paragraph-type: empty; -qt-block-indent: 0"> </P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px; -qt-paragraph-type: empty; -qt-block-indent: 0"> </P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">On Tuesday, November 05, 2013 02:52:11 PM Mogesh Naidoo wrote:<BR></P>
<P style="MARGIN: 12px 40px 0px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">Hi,</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0"> </P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">I'm having trouble compiling MPICH-3.0.4.</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">I'm using GNU 4.7.2 compilers.</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">My configure = </P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">./configure --prefix=/export/home/mnaidoo/software/mpich/mpich3_GNU --with-gnu-ld 2>&1 | tee c.txt</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">Configure is successful with no errors.</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0"> </P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">The make fails with </P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">"libtool: link: `/usr/lib64/libxml2.la' is not a valid libtool archive"</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">This occurs when trying:</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">"CCLD libhwloc_embedded.la"</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0"> </P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">So there's a libxml2.la in /usr/lib64, but there's also one in another directory.</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">I add this directory to LD_LIBRARY_PATH and I still get the same error.</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">How do I tell <SPAN style="FONT-STYLE: italic">make</SPAN> to use the libxml2.la in the other directory?</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0"> </P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">regards,</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0">Mogesh.</P>
<P style="MARGIN: 0px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0"><SPAN style="FONT-FAMILY: 'Verdana,Arial,Helvetica,Trebuchet MS'"> <BR>-- <BR>This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. <BR>The full disclaimer details can be found at </SPAN><A href="http://www.csir.co.za/disclaimer.html"><SPAN style="COLOR: #0057ae; FONT-FAMILY: 'Verdana,Arial,Helvetica,Trebuchet MS'; TEXT-DECORATION: underline">http://www.csir.co.za/disclaimer.html</SPAN></A><SPAN style="FONT-FAMILY: 'Verdana,Arial,Helvetica,Trebuchet MS'">. </SPAN></P>
<P style="MARGIN: 12px 0px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0"><SPAN style="FONT-FAMILY: 'Verdana,Arial,Helvetica,Trebuchet MS'"><BR>This message has been scanned for viruses and dangerous content by </SPAN><A href="http://www.mailscanner.info/"><SPAN style="FONT-WEIGHT: 600; COLOR: #0057ae; FONT-FAMILY: 'Verdana,Arial,Helvetica,Trebuchet MS'; TEXT-DECORATION: underline">MailScanner</SPAN></A><SPAN style="FONT-FAMILY: 'Verdana,Arial,Helvetica,Trebuchet MS'">, <BR>and is believed to be clean. </SPAN></P>
<P style="MARGIN: 12px 40px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0"><SPAN style="FONT-FAMILY: 'Verdana,Arial,Helvetica,Trebuchet MS'"><BR>Please consider the environment before printing this email. </SPAN></P>
<P style="MARGIN: 0px; TEXT-INDENT: 0px; -qt-block-indent: 0; -qt-user-state: 0"><BR></P><FONT face="Verdana,Arial,Helvetica,Trebuchet MS" size=1><BR>-- <BR>This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. <BR>The full disclaimer details can be found at <A href="http://www.csir.co.za/disclaimer.html">http://www.csir.co.za/disclaimer.html</A>. 
<P><BR>This message has been scanned for viruses and dangerous content by <A href="http://www.mailscanner.info/"><B>MailScanner</B></A>, <BR>and is believed to be clean. 
<P><BR>Please consider the environment before printing this email. </FONT></P><font face="Verdana,Arial,Helvetica,Trebuchet MS" size="1">
<br />-- 
<br />This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
<br />The full disclaimer details can be found at <a href="http://www.csir.co.za/disclaimer.html">http://www.csir.co.za/disclaimer.html</a>.
<p>
<br />This message has been scanned for viruses and dangerous content by <a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, 
<br />and is believed to be clean.
<p>
<br />Please consider the environment before printing this email.
</font>
</BODY></HTML>