• Show log

    Commit

  • Hash : 1f01f49b
    Author : Arfrever Frehtes Taifersar Arahesis
    Date : 2012-08-28T22:16:50

    Handle ICU_LIBS as LIBADD, not LDFLAGS to prevent linking errors
    
    For https://bugzilla.gnome.org/show_bug.cgi?id=677606
    For https://bugs.gentoo.org/show_bug.cgi?id=417539
    
    If libxml2-2.8.0 is built with --with-icu --with-python on a system that has an
    older version of libxml2 installed, then during "make install", libxml2mod.so
    gets relinked to the systemwide version of libxml2.so.2 instead of libxml2.so.2
    from the build tree, and fails at runtime if symbol versions from the older
    libxml2.so.2 are not available. This effectively makes it impossible to build a
    libxml2-2.8.0 binary package on a system that does not already have
    libxml2-2.8.0 installed.
    
    Investigation by Rafał Mużyło and Arfrever Frehtes Taifersar Arahesis revealed
    the cause of the problem to be that libxml2's configure was adding ICU_LIBS to
    LDFLAGS instead of to LIBADD. This resulted in GNU libtool using the wrong
    argument order in its relinking command that gets run during "make install".
    

  • README

  •                   XML toolkit from the GNOME project
    
    Full documentation is available on-line at
        http://xmlsoft.org/
    
    This code is released under the MIT Licence see the Copyright file.
    
    To build on an Unixised setup:
       ./configure ; make ; make install
    To build on Windows:
       see instructions on win32/Readme.txt
    
    To assert build quality:
       on an Unixised setup:
          run make tests
       otherwise:
           There is 3 standalone tools runtest.c runsuite.c testapi.c, which
           should compile as part of the build or as any application would.
           Launch them from this directory to get results, runtest checks 
           the proper functionning of libxml2 main APIs while testapi does
           a full coverage check. Report failures to the list.
    
    To report bugs, follow the instructions at: 
      http://xmlsoft.org/bugs.html
    
    A mailing-list xml@gnome.org is available, to subscribe:
        http://mail.gnome.org/mailman/listinfo/xml
    
    The list archive is at:
        http://mail.gnome.org/archives/xml/
    
    All technical answers asked privately will be automatically answered on
    the list and archived for public access unless privacy is explicitly
    required and justified.
    
    Daniel Veillard
    
    $Id$