<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.17114" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I'm having trouble compiling MPICH-3.0.4.</DIV>
<DIV>I'm using GNU 4.7.2 compilers.</DIV>
<DIV>My configure = </DIV>
<DIV>./configure --prefix=/export/home/mnaidoo/software/mpich/mpich3_GNU --with-gnu-ld 2>&1 | tee c.txt</DIV>
<DIV>Configure is successful with no errors.</DIV>
<DIV> </DIV>
<DIV>The make fails with </DIV>
<DIV>"libtool: link: `/usr/lib64/libxml2.la' is not a valid libtool archive"</DIV>
<DIV>This occurs when trying:</DIV>
<DIV>"CCLD libhwloc_embedded.la"</DIV>
<DIV> </DIV>
<DIV>So there's a libxml2.la in /usr/lib64, but there's also one in another directory.</DIV>
<DIV>I add this directory to LD_LIBRARY_PATH and I still get the same error.</DIV>
<DIV>How do I tell <EM>make</EM> to use the libxml2.la in the other directory?</DIV>
<DIV> </DIV>
<DIV>regards,</DIV>
<DIV>Mogesh.</DIV>
<DIV> </DIV><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>