Menu

#54 [libSBW-2.10.0] undefined reference to 'xml*'

v1.0
closed-fixed
5
2014-12-31
2014-12-30
No

Hi.
The packaging of libSBML, libSEDML, libSBW continues.

I leave in attached a log of libSBW compilation with 'undefined reference to `xml*' errors during building of Broker executable file.

System: Fedora 21 x86_64 with libxml2-2.9.1.

Regards.

1 Attachments

Discussion

  • Frank Bergmann

    Frank Bergmann - 2014-12-30

    i will have a look (though for now the wrong log was attached :) )

     
    • Antonio Trande

      Antonio Trande - 2014-12-30

      The log is related to libSBW building. Why is it wrong?

       
      • Frank Bergmann

        Frank Bergmann - 2014-12-30

        sorry about that, it is getting late. I still was looking at the sedml log. In any case, i've released the current trunk as 2.11, so maybe you can give that a try, as many of the warnings have been resolved. And 2.11 builds fine for me on F21:

        https://sourceforge.net/projects/sbw/files/libSBW/2.11.0/

         
  • Antonio Trande

    Antonio Trande - 2014-12-30

    It's still broken.

     
  • Frank Bergmann

    Frank Bergmann - 2014-12-31

    Could you please also attach the CMakeCache.txt from the build directory. I need to find out why it would not link against xml2 in your case (when it does on my F21 box, where libxml2-devel is installed).

    in any case with the latest commit I've added error messages in case the LIBXML_LIBRARY is not defined. I will hold with a release until you confirm that it works for you, for now the archive can be found under:

    https://www.dropbox.com/s/lzz84eys05skmnx/sbw-core-2.11.0.tar.gz?dl=0

     
  • Antonio Trande

    Antonio Trande - 2014-12-31

    in any case with the latest commit I've added error messages >in case the LIBXML_LIBRARY is not defined. I will hold with a >release until you confirm that it works for you, for now the >archive can be found under:

    Ops! I had not defined the XML2 library, just its path.

    -DLIBXML_LIBRARY:FILEPATH="-L%{_libdir} -lxml2" fixes this problem. :)

     

    Last edit: Antonio Trande 2014-12-31
  • Frank Bergmann

    Frank Bergmann - 2014-12-31
    • status: open --> closed-fixed
    • assigned_to: Frank Bergmann
     

Log in to post a comment.