[mpich-discuss] Compilation: MPICH3 and libxml2
jczhang at mcs.anl.gov
Wed Nov 6 09:26:43 CST 2013
It seems the compilation was stuck at hwloc. Try export these two env
variables and compile again.
HWLOC_LIBXML2_CFLAGS = -I<path to your xml2 headers, such as
HWLOC_LIBXML2_LIBS = -L<path to your xml2 library> -lxml2
If it does not work, could you paste your $LD_LIBRARY_PATH?
On Tue, Nov 5, 2013 at 6:52 AM, Mogesh Naidoo <MNaidoo4 at csir.co.za> wrote:
> I'm having trouble compiling MPICH-3.0.4.
> I'm using GNU 4.7.2 compilers.
> My configure =
> ./configure --prefix=/export/home/mnaidoo/software/mpich/mpich3_GNU
> --with-gnu-ld 2>&1 | tee c.txt
> Configure is successful with no errors.
> The make fails with
> "libtool: link: `/usr/lib64/libxml2.la' is not a valid libtool archive"
> This occurs when trying:
> "CCLD libhwloc_embedded.la"
> So there's a libxml2.la in /usr/lib64, but there's also one in another
> I add this directory to LD_LIBRARY_PATH and I still get the same error.
> How do I tell *make* to use the libxml2.la in the other directory?
> This message is subject to the CSIR's copyright terms and conditions,
> e-mail legal notice, and implemented Open Document Format (ODF) standard.
> The full disclaimer details can be found at
> This message has been scanned for viruses and dangerous content by
> *MailScanner* <http://www.mailscanner.info/>,
> and is believed to be clean.
> Please consider the environment before printing this email.
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss