compilation error

From: xsatya <xsatya_at_gmail.com>
Date: Sat, 23 Jul 2011 04:04:35 +0530


Hello Experts,

I am getting following errors while compiling root v5-28-00e.

*Error:*

lib/libXMLParser.so: undefined reference to `xmlCreateFileParserCtxt_at_LIBXML2_2.4.30'

lib/libXMLParser.so: undefined reference to `xmlStopParser_at_LIBXML2_2.4.30'
lib/libXMLParser.so: undefined reference to `xmlStrdup_at_LIBXML2_2.4.30'
lib/libXMLParser.so: undefined reference to
`xmlParserGetDirectory_at_LIBXML2_2.4.30'
lib/libXMLParser.so: undefined reference to `xmlParseDocument_at_LIBXML2_2.4.30 '
lib/libXMLParser.so: undefined reference to `xmlCleanupParser_at_LIBXML2_2.4.30 '
lib/libXMLParser.so: undefined reference to `xmlDocGetRootElement_at_LIBXML2_2.4.30'
lib/libXMLParser.so: undefined reference to `xmlFreeDoc_at_LIBXML2_2.4.30'
lib/libXMLParser.so: undefined reference to `xmlInitParser_at_LIBXML2_2.4.30'
lib/libXMLParser.so: undefined reference to
`xmlFreeParserCtxt_at_LIBXML2_2.4.30'
lib/libXMLParser.so: undefined reference to `xmlCreateMemoryParserCtxt_at_LIBXML2_2.4.30' collect2: ld returned 1 exit status
make: *** [bin/hist2workspace] Error 1

*===========================================================*

*System info*

Linux: 2.6.32-71.el6.x86_64 #1 SMP
xml2-config -version: 2.7.6
gcc version: 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)

*echo $LD_LIBRARY_PATH*

/opt/common/basic/alien/alien/api/lib:/opt/common/basic/root/v5-28-00e/lib:/opt/common/basic/aliroot/v4-20-Release/lib/tgt_linuxx8664gcc:/opt/common/basic/geant3/g3.v5-28-00e/lib/tgt_linuxx8664gcc

*ldd $ROOTSYS/lib/libXMLParser.so*

/opt/common/basic/root/v5-28-00e/lib/libXMLParser.so: /opt/common/basic/alien/alien/api/lib/libxml2.so.2: no version information available (required by /opt/common/basic/root/v5-28-00e/lib/libXMLParser.so)

    linux-vdso.so.1 => (0x00007fff12fff000)     libxml2.so.2 => /opt/common/basic/alien/alien/api/lib/libxml2.so.2 (0x00007f6384758000)

    libz.so.1 => /opt/common/basic/alien/alien/api/lib/libz.so.1 (0x00007f6384541000)

    libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f6384219000)     libm.so.6 => /lib64/libm.so.6 (0x00007f6383f95000)     libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6383d7e000)     libc.so.6 => /lib64/libc.so.6 (0x00007f63839ff000)     libdl.so.2 => /lib64/libdl.so.2 (0x00007f63837fb000)     /lib64/ld-linux-x86-64.so.2 (0x00000038cbe00000)

*I am compiling with options:
*

./configure \

    --with-f77=gfortran \
    --with-pythia6-uscore=SINGLE \
    --enable-roofit \
    --enable-minuit2 \
    --with-alien-incdir=${ALIEN_DIR}/api/include \
    --with-alien-libdir=${ALIEN_DIR}/api/lib \
    --with-monalisa-libdir=${ALIEN_DIR}/api/lib \
    --with-monalisa-incdir=${ALIEN_DIR}/api/include \
    --with-xrootd-incdir=${ALIEN_DIR}/api/include/xrootd \
    --with-xrootd-libdir=${ALIEN_DIR}/api/lib \
    --disable-editline \
    --enable-gsl-shared \
    --disable-globus \
    --build=debug


Thank you.

With regards,
satya

-- 
---------------
Research Student,
High Energy Physics, India.
Received on Sat Jul 23 2011 - 00:34:44 CEST

This archive was generated by hypermail 2.2.0 : Fri Aug 05 2011 - 05:50:02 CEST